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!)
A059589 Sums of factorials of distinct integers. 8

%I #25 Apr 15 2017 09:48:10

%S 1,2,3,4,6,7,8,9,10,24,25,26,27,28,30,31,32,33,34,120,121,122,123,124,

%T 126,127,128,129,130,144,145,146,147,148,150,151,152,153,154,720,721,

%U 722,723,724,726,727,728,729,730,744,745,746,747,748,750,751,752,753

%N Sums of factorials of distinct integers.

%C 0! and 1! are treated as distinct.

%C From _Bernard Schott_, Apr 13 2017: (Start)

%C Factorial numbers (A000142) are included in this sequence.

%C Only one factorial (2!) is the sum of distinct factorials in more than one way: 2! = 0! + 1!.

%C (End)

%C Sequence contains the same nonzero terms as A059590, and in addition also each term immediately after each maximal run of consecutive terms in A059590. For example, because A059590 contains numbers 30, 31, 32, 33, this sequence contains the same four terms, and also 34 which follows them but is not included in A059590. - _Antti Karttunen_, Apr 15 2017

%H Ivan Neretin, <a href="/A059589/b059589.txt">Table of n, a(n) for n = 1..10000</a>

%e 128 is in the sequence since 5! + 3! + 2! = 128.

%e 2 = 0! + 1!.

%t Rest@Union[Plus @@@ (Subsets@Range[0, 6]!)] (* _Ivan Neretin_, Jun 05 2016 *)

%Y Cf. A000142, A059590 (subsequences).

%Y Cf. A014597, A025494, A051760, A051761.

%K nonn

%O 1,2

%A _Henry Bottomley_, Jan 24 2001

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 16 10:08 EDT 2024. Contains 371698 sequences. (Running on oeis4.)