login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115645 Powerful(1) numbers (A001694) that are sums of distinct factorials. 3
1, 8, 9, 25, 27, 32, 121, 128, 144, 729, 841, 864, 5041, 5184, 40328, 41067, 45369, 45387, 46208, 46225, 363609, 403225, 3674889, 43954688, 6230694987, 1401602635449 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Factorials 0! and 1! are not considered distinct.
a(27) > 10^18, if it exists. - Amiram Eldar, Feb 24 2024
LINKS
EXAMPLE
6230694987 = 13!+10!+8!+7!+4!+2!+1! = 3^3*11^2*1381^2.
MATHEMATICA
pwfQ[n_] := n==1 || Min[Last /@ FactorInteger@n] > 1; fac=Range[20]!; lst={}; Do[ n = Plus@@(fac*IntegerDigits[k, 2, 20]); If[pwfQ[n], AppendTo[lst, n]], {k, 2^20-1}]; lst
q[n_] := Module[{k = n, m = 2, r, ans = True}, While[{k, r} = QuotientRemainder[k, m]; k != 0 || r != 0, If[r > 1, ans = False; Break[]]; m++]; ans]; With[{max = 2^20-1}, Select[Union[Flatten[Table[i^2*j^3, {j, 1, max^(1/3)}, {i, 1, Sqrt[max/j^3]}]]], q]] (* Amiram Eldar, Feb 24 2024 *)
CROSSREFS
Intersection of A001694 and A059590.
Sequence in context: A077599 A109097 A335770 * A068435 A302554 A124438
KEYWORD
nonn,more
AUTHOR
Giovanni Resta, Jan 27 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:44 EDT 2024. Contains 371781 sequences. (Running on oeis4.)