|
|
A002850
|
|
Number of decompositions of 2n into sum of 2 lucky numbers.
(Formerly M0071 N0023)
|
|
2
|
|
|
1, 1, 1, 1, 2, 1, 2, 3, 2, 1, 3, 2, 2, 3, 2, 2, 4, 2, 3, 4, 2, 3, 5, 1, 4, 5, 2, 3, 5, 1, 3, 5, 3, 3, 5, 3, 5, 7, 3, 5, 7, 4, 4, 7, 3, 3, 7, 4, 3, 9, 5, 3, 7, 5, 3, 8, 5, 4, 8, 5, 3, 7, 5, 3, 9, 4, 3, 12, 6, 4, 12, 6, 4, 10, 6, 4, 8, 5, 5, 8, 7, 5, 11, 5, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
In general, a(3n-1) is larger than a(3n-2) and a(3n), which explains the bimodal nature of the graph. - T. D. Noe, Jan 29 2007
|
|
REFERENCES
|
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
M. L. Stein and P. R. Stein, Tables of the Number of Binary Decompositions of All Even Numbers Less Than 200,000 into Prime Numbers and Lucky Numbers. Report LA-3106, Los Alamos Scientific Laboratory of the University of California, Los Alamos, NM, Sep 1964.
|
|
LINKS
|
|
|
MATHEMATICA
|
nmax = 1000;
luckies = Table[2i+1, {i, 0, nmax}]; For[n = 2, n < Length[luckies], r = luckies[[n++]]; luckies = ReplacePart[luckies, Table[r*i -> Nothing, {i, 1, Length[luckies]/r}]]];
a[n_] := IntegerPartitions[2n, {2}, luckies] // Length;
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,nice
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Paul Zimmermann points out that the second term was incorrectly given as 2 in the Encyclopedia of Integer Sequences.
|
|
STATUS
|
approved
|
|
|
|