Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082875
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082875 Squares that are the sum of three factorials. +0
2
4, 9, 49, 841, 36, 5184 (list; graph; listen)
OFFSET

0,1

FORMULA

a1! + a2! + a3! = z^2.

EXAMPLE

These appear to be the only solutions. 8 and 27 appear to be the only cubes

that are the sum of 3 factorials. Again, it appears that 2 and 3 are the only

powers of n satisfying a1!+a2!+a3! = z^n. The complete list of solutions is

a1 a2 a3 z^2

0 0 2 4

0 1 2 4

0 2 3 9

0 4 4 49

0 5 6 841

1 1 2 4

1 2 3 9

1 4 4 49

1 5 6 841

3 3 4 36

4 5 7 5184

MATHEMATICA

d = 50; a = Union[ Flatten[ Table[a! + b! + c!, {a, 1, d}, {b, a, d}, {c, b, d}]]]; l = Length[a]; Do[ If[ IntegerQ[ Sqrt[ a[[i]]]], Print[ a[[i]]]], {i, 1, l}]

PROGRAM

(PARI) sum3factsq(n) = { for(a1=1, n, for(a2=a1, n, for(a3=a2, n, z = a1!+a2!+a3!; if(issquare(z), print1(z" ")) ) ) ) }

CROSSREFS

Sequence in context: A081069 A053967 A028945 this_sequence A086541 A053965 A058444

Adjacent sequences: A082872 A082873 A082874 this_sequence A082876 A082877 A082878

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 25 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research