Pi Han's superfactorial

Consider the superfactorial function S F ( n ) = i = 1 n i ! SF(n) = \prod_{i=1}^n i!

If N N is the maximum integer value such that S F ( 2013 ) SF(2013) is divisible by 201 3 N 2013^N , what are the last three digits of N N ?

This problem is posed by Pi Han G .


The answer is 241.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

10 solutions

Daniel Chiu
Oct 27, 2013

We have that, S F ( 2013 ) = 1 ! 2 ! 2013 ! SF(2013)=1!2!\cdots 2013! A factor of 2013 = 3 11 61 2013=3\cdot 11\cdot 61 will occur the minimum number of times 3 3 , 11 11 , or 61 61 occurs. Clearly, 61 will occur the least, so we must count the factors of 61.

We can group the product: ( 1 ! 2 ! 60 ! ) ( 61 ! 62 ! 121 ! ) ( 1952 ! 1953 ! 2012 ! ) ( 2013 ! ) (1!2!\cdots 60!)(61!62!\cdots 121!)\cdots(1952!1953!\cdots 2012!)(2013!) The first term has no factors of 61, so we ignore it. The last term has 33 factors of 61. All other terms have 61 terms, each of which has the same number of factors of 61. The total number of 61's is 61 ( 1 + 2 + + 32 ) + 33 = 61 32 33 2 + 33 = 32 241 61(1+2+\cdots+32)+33=61\dfrac{32\cdot 33}{2}+33=32\boxed{241}

Good.....

Nihhaar Chandra Routhu - 7 years, 7 months ago

There r 60 terms not 61 , when d 61st term occurs factor increases by 1 ans should b 713

Avinash Iyer - 7 years, 7 months ago

Log in to reply

Actually, every term except the first and last have 61 terms. Look again

Daniel Chiu - 7 years, 7 months ago

Why are we looking for the factor of 2013, that occurs least?

Daniel Alfaro - 7 years, 7 months ago

Log in to reply

To make a 2013, you need a 3, 11, 61. You can only make 2013's until you run out of one, and that is the one that occurs least.

Daniel Chiu - 7 years, 7 months ago

SHOOT I multiplied the sum at the end by 60 by mistake...

Josh Kolenbrander - 7 years, 7 months ago

@Archit Boobna how did you do it?

Adarsh Kumar - 6 years, 1 month ago

Log in to reply

@Archit Boobna ?

Adarsh Kumar - 6 years, 1 month ago

In the same way as Daniel.

In a factorial, the power of 61 would be least (among the factors of 61).

So we observe that in the first 60 factorials, there is no power of 61, then in the next 61 terms, the power is 1, in the next 61 the power is 2.. and so on.

We add all this 60x0 + 61 x1 + 61x2 and so on to get the answer

Archit Boobna - 6 years, 1 month ago
Jatin Yadav
Oct 28, 2013

2013 = 3 × 11 × 61 2013 = 3 \times 11 \times 61

Clearly, the least power in the superfactorial out of 3 , 11 3,11 and 61 61 would be of 61 61 and the same would be N N .

Now, 61 61 would first come in 61 ! 61! , and till ( 61 × 2 1 ) ! (61 \times 2- 1)! (i.e. next 61 61 terms) , the power of 61 61 in each individual factorial would be 1 1 , then , from ( 61 × 2 ) ! (61 \times 2)! to ( 61 × 3 1 ) ! (61 \times 3 -1)! the power of 61 61 in each individual factorial would be 2 2 , \dots and finally , from 61 × 32 ) ! 61 \times 32)! to 2012 ! 2012! each term would have a power of 32 32 in it, and power of 61 61 in ( 2013 ) ! (2013)! would be 33 33 .

Hence, we conclude that N = 61 ( 1 + 2 + 3 + 32 ) + 33 = 32241 N = 61(1 + 2 + 3 + \dots 32) + 33 = 32241 .

Hence last three digits of N N are 241 \fbox{241}

This is exactly what I did. :)

A Former Brilliant Member - 7 years, 7 months ago

i didn't get why to add 33 in the last; that's my answer is 32208

Ayush Goyal - 7 years, 7 months ago

Log in to reply

2013 ! 2013! has 33 factors of 61, you probably forgot it.

Daniel Chiu - 7 years, 7 months ago

S F ( 2013 ) = i = 1 2013 i ! \displaystyle SF(2013) = \prod_{i = 1}^{2013}i! = ( i = 61 × 0 61 × 1 1 i ! ) ( i = 61 × 1 61 × 2 1 i ! ) ( i = 61 × 2 61 × 3 1 i ! ) ( i = 61 × 32 61 × 33 1 i ! ) ( i = 61 × 33 61 × 33 i ! ) \displaystyle =\left(\prod_{i = 61 \times 0}^{61 \times 1 - 1} i!\right)\left(\prod_{i=61 \times 1}^{61 \times 2 - 1} i!\right)\left(\prod_{i=61 \times 2}^{61 \times 3 - 1} i! \right) \ldots \left(\prod_{i=61 \times 32}^{61 \times 33 - 1} i!\right)\left(\prod_{i=61 \times 33}^{61 \times 33} i!\right)

Notice that 2013 = 3 × 11 × 61 \displaystyle 2013 = 3 \times 11 \times 61 and 61 ! ( m o d 2013 ) 0. \displaystyle 61! \pmod{2013} \equiv 0. Hence we can see the pattern as below.

i = 61 × 0 61 × 1 1 i ! ( m o d 201 3 61 × 0 ) 0 \displaystyle \prod_{i = 61 \times 0}^{61 \times 1 - 1} i! \pmod { 2013^{61 \times 0}} \equiv 0

i = 61 × 1 61 × 2 1 i ! ( m o d 201 3 61 × 1 ) 0 \displaystyle \prod_{i = 61 \times 1}^{61 \times 2 - 1} i! \pmod {2013^{61 \times 1}} \equiv 0

i = 61 × 2 61 × 3 1 i ! ( m o d 201 3 61 × 2 ) 0 \displaystyle \prod_{i = 61 \times 2}^{61 \times 3 - 1} i! \pmod{2013^{61 \times 2}} \equiv 0

\vdots

i = 61 × 32 61 × 33 1 i ! ( m o d 201 3 61 × 32 ) 0 \displaystyle \prod_{i = 61 \times 32}^{61 \times 33 - 1} i! \pmod {2013^{61 \times 32}} \equiv 0

i = 61 × 33 61 × 33 i ! ( m o d 201 3 33 ) 0 \displaystyle \prod_{i = 61 \times 33}^{61 \times 33} i! \pmod {2013^{33}} \equiv 0

Hence, the maximum value of N N is

N = 61 ( 0 + 1 + 2 + 3 + 32 ) + 33 = 32 × 33 2 + 33 = 32241 N = 61(0 + 1 + 2 + 3 \ldots + 32) + 33 = \frac{32 \times 33}{2} + 33 = 32241

Hence, the last three digits of N N is 241 . \boxed{241}.

You should be careful with how you are phrasing your argument. All that you have shown, is 201 3 32241 2013^{32241} divides S F ( 2013 ) SF(2013) .

For example, we have 27 0 ( m o d 3 ) 27 \equiv 0 \pmod{3} , but 3 1 3^1 is not the highest power of 3 that divides 27. You need to explain why no higher power of 2013 will divide any of the terms that you listed.

Calvin Lin Staff - 7 years, 7 months ago
Aditya Parson
Oct 28, 2013

Note that the prime factorization of 2013 = 3 11 61 2013=3 \cdot 11 \cdot 61 . If we have 61 61 or any of it's multiples in a particular factorial, we will undoubtedly have enough of 3 s 3's and 1 1 s 11's to assist in the gleaning of 2013 2013 . Hence, the sum becomes equivalent to finding the highest power of 61 61 that divide's the expression. The number of powers of 61 k 61k , that appear in S F ( 2013 ) SF(2013) , can be written as 2013 61 k + 1 = 2014 61 k 2013-61k+1=2014-61k .The previous statement implies the number of appearances of 6 1 s 61's multiples. Also, we have 1 k 33 1 \leq k \leq 33 .

Hence, the max power of 61 61 is the sum of all the powers of multiples of 61 61 in the given range.

So, our answer is N = k = 1 33 2014 61 k N= \displaystyle\sum\limits_{k=1}^{33} 2014-61k = 2014 33 61 33 34 2 =2014\cdot 33 - 61\cdot \frac{33 \cdot 34}{2}

N 33 14 ( 61 17 ) ( m o d 1000 ) N \equiv 33{14-(61 \cdot 17)} \pmod{1000} N 33 [ 14 ( 37 ) ] ( m o d 1000 ) N \equiv 33[14 -(37)] \pmod{1000} N 33 23 759 241 ( m o d 1000 ) N \equiv 33 \cdot -23 \equiv -759 \equiv 241 \pmod{1000}

k k is a positive integer.

Aditya Parson - 7 years, 7 months ago

There is a formatting error in the last two lines and it should read: N 33 ( 14 ( 61 17 ) ) ( m o d 1000 ) N \equiv 33(14-(61 \cdot 17)) \pmod{1000} . The same implies for the lines that follow.

Aditya Parson - 7 years, 7 months ago

Log in to reply

Updated. You use { } \{ \} , and I've replaced them with [ ] [ ] .

Calvin Lin Staff - 7 years, 7 months ago

Log in to reply

Thank you.

Aditya Parson - 7 years, 7 months ago

What is the difference for {} and []?

Figel Ilham - 6 years, 1 month ago
Akbar Gumbira
Oct 28, 2013

Since 61 61 is the biggest prime factor of 2013 2013 , we can only care the number of the multiple of 61 61 in S F ( 2013 ) SF(2013) .

  1. In n ! n! , there are [ n 61 ] [\frac{n}{61}] numbers of multiple 61. [ n ] [n] is the floored value of n n

Some little facts from 1 1 :

a. For n = [ 0 , 60 ] n = [0, 60] , each of n n gives 0 0 number of multiple 61 61

b. For n = [ 61 , 121 ] n = [61, 121] , each of n n gives 1 1 number of multiple 61 61

c. For n = [ 61 × i , 61 × ( i + 2 ) 1 ] n = [61 \times i, 61 \times (i+2) - 1] , each of n n gives i i number of multiple 61 61

Resuming from all of those little facts, in S F ( 2013 ) SF(2013) , there are:

61 × ( 1 + 2 + 3 + 4 + . . . + 32 ) + 33 = 32241 61 \times (1+2+3+4+...+32) + 33 = 32241 numbers of multiple 61

The last 3 digits of it is 241 \boxed{241}

Sourav Chaudhuri
Oct 28, 2013

The given sequence is a product of factorials till 2013 and since SF(2013) is divisible by 2013^N, thus we have to factorize the number. Upon doing that, the limiting factor would be the highest power of the largest prime number that divides SF(2013) which in this case would be 61. Now, 61 starts from 61! and is present only from 61! till 121! and from 122! onwards there are two 61's present in the factorial. (we do not have to worry about the higher powers of 61 as 61^2 is 3721 which is beyond the range of SF given here. Now 61 occurs once from 61 and goes till 121! that is 61 numbers and from 122! to 182! there are two 61's present again 61 numbers and from 183! onwards till 243! there are 3 61's.... thus we get a series as follows 1 61 + 2 61 + 3 61 +............ +61 32 <---(2nd last term) and 2013 which is 61* 33 but that occurs only once so there is only term that contains 33 61's adding up all we get 32241, thus the last three digits are 241

Pranay N
Oct 27, 2013

Since 61 is the largest factor of 2013, it grows the fastest and we can count how many 61's there are in the superfactorial, since it is a sort of limiting factor in a sense. Listing the product out: 1! * 2! * 3! .... 61! .... (61 * 2)! .... (61 * 3)! ............ (61 * 33)! All the factorials in the interval [61, 61 * 2) have one factor of 61 in them. This means there are: 1 * 61 factors of 61 contained within this interval. All the factorials in the interval [61, 61 * 3) have two factors of 61 in them. This means there are: 2 * 61 factors of 61 contained within this interval. Continuing on in the same way, we get: 1 * 61 + 2 * 61 + 3 * 61 +.....+ 32 * 61= 61* (1+2+3+...+32)=32208 When we get to the last number, however, there is one extra factor of 61 (2013= 33 * 61) So we add 33 to get a final answer of 32241=> 241

Rohit Kanrar
Oct 31, 2013

We can divide 2013 = ( 61 × 11 × 3 ) 2013 = (61\times11\times3) in 3 prime numbers. Hence, 201 3 N = ( 61 6 N × 1 1 N × 3 N ) 2013^N=(616^N\times11^N\times3^N)

Now, We have to calculate number of 61 and it's multiple in SF(2013). 61 contain once from 2013 ! 2013! to 61 ! 61! . No. of 61 contain in S F ( 2013 ) = 2013 ( 1 × 61 ) + 1. SF(2013)={2013-(1\times61)}+1.

2 × 61 2\times61 contain once from 2013 ! 2013! to 122 ! 122! . No. of 122 contain in S F ( 2013 ) = 2013 ( 2 × 61 ) + 1. SF(2013)={2013-(2\times61)}+1. Preceeding this way, we are to calculate upto, 33 × 61 33\times 61

Hence total number of 61 or its multiple is = ( 33 × 2013 ) 61 ( 1 + 2 + 3 + . . . . . + 33 ) + 33 ={(33\times2013)-61(1+2+3+.....+33)+33} = 66429 ( 61 × 17 × 33 ) + 33 ={66429-(61\times17\times33)+33} = 32208 + 33 = 32241 =32208+33=32241 Therefore, the answer is 241 \boxed{241}

Dhruv Baid
Oct 30, 2013

The thing worth noticing, which will make the solution so much simpler, is that

2013 = 3 × 11 × 61 2013 = 3 \times 11 \times 61

Therefore, we need to find the maximum exponent in SF(2013) for any of the 3 prime factors of 2013. Obviously, of all 3 primes, 61 will have the smallest exponent. Hence, we calculate the value of the exponent of 63 in SF(2013):

Exponent of 61 = 1953 + 1892 + . . . + 62 + 1 61 = 1953 + 1892 + ... + 62 + 1 , because we count one exponent value of 61 for every time

61 n n Z 61n | n \in Z

appears in the factorials.

1953 + 1892 + . . . + 62 + 1 = 33 + 61 x = 0 32 x 1953 + 1892 + ... + 62 + 1 = 33 + 61\sum_{x = 0}^{32} {x} , which can easily be computed to 32241 32 241 .

Hence, the last 3 digits are 241 \boxed{241} .

Sorry, I meant exponent of 61.

Dhruv Baid - 7 years, 7 months ago

2013 = 3 * 11 * 61 therefore, we just find the greatest value of 'N' in 61^N.

SF(2013) = prod( i! ), from i=1 to 2013

SF(2013) = (1!) * (2!) * (3!) * . . . * (2013!)

SF(2013) = (1) * (1 * 2) * (1 * 2 * 3) * . . . * (1 * 2 * 3 * . . . * 2013)

SF(2013) = (1^2013) * (2^2012) * (3^2011) * . . . * (2013^1)

SF(2013) = prod( i^(2014-i) ), from i=1 to 2013

Thus, the greatest value of 'N' in 61^N is

N = sum( 2014-i ), i=61k, k=1 to 33

N = 32241

Therefore, the last three digits is 241. :))

ok.. i'll try to learn LATEX code :))

Kim Arvin Leocadio - 7 years, 7 months ago

Just a suggestion: LATEX code would make your solution look much neater! :)

Dhruv Baid - 7 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...