The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A115646 Semiprimes (A001358) that are sums of distinct factorials. 2
6, 9, 25, 26, 33, 121, 122, 123, 129, 145, 146, 721, 723, 745, 746, 753, 841, 842, 843, 849, 865, 866, 871, 5041, 5042, 5065, 5071, 5161, 5163, 5169, 5186, 5191, 5761, 5767, 5793, 5905, 5906, 5911, 40321, 40322, 40323, 40345, 40346, 40353, 40441 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Factorials 0! and 1! are not considered distinct.
LINKS
EXAMPLE
721 = 6!+1! = 7*103.
MATHEMATICA
semipQ[n_] := Plus @@ Last /@ FactorInteger[n] == 2; fac=Range[10]!; lst={}; Do[ n = Plus@@(fac*IntegerDigits[k, 2, 10]); If[semipQ[n], AppendTo[lst, n]], {k, 2^10-1}]; Union[lst]
CROSSREFS
Sequence in context: A142877 A260168 A093153 * A260565 A115644 A243708
KEYWORD
nonn
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 June 12 14:48 EDT 2024. Contains 373331 sequences. (Running on oeis4.)