All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Preperiod and Period Poser (Posted on 2023-06-09) Difficulty: 4 of 5
If (a,b)ε(0,1), then:
a/b
=               _________________
0.a1a2.........anb1b2...........bm
    Preperiod      Period
Determine the respective lengths of the preperiod and the postperiod of (10!)-1

*** Computer program/excel solver methodologies are welcome, but a semi-analytic (hand calculator and p&p) methodology is preferred.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution Comment 3 of 3 |
I'm quite surprised that this problem has been out barely a day and we already have a "plug it in the calculator" solution as the official solution.

For a more analytical approach. we'll start with the prime factorization of 10! = 36628800 = (2^8*5*2) * (3^4*7).

The exponents of 2 and 5 are 8 and 2, respectively.  The preperiod is the larger of these two exponents. Thus the length of the preperiod of (10!)^-1 is 8.

The the period of (10!)^-1 has the same period as 1/(3^4*7).  1/(3^4*7) can be expressed as a fraction with a denominator of all 9's.  Then there are some x and y such that 1/(3^4*7) = x/(10^y - 1).  In this arrangement, the smallest y is the length of the period, so we need to an integer y such that (10^y - 1) mod (3^4*7) = 0.

1/7 already is known to have a period of 6, so the valid choices for y start with 6,12,18,...  Testing these finds y=18 gives an integer result for x.  Thus the length of the period of (10!)^-1 is 18.

  Posted by Brian Smith on 2023-06-10 09:58:30
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information