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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

T. D. Noe, Table of n, a(n) for n = 1..10000

V. Gardiner, R.Lazarus, N. Metropolis and S. Ulam, On certain sequences of integers defined by sieves, Math. Mag., 29 (1955), 117-119.

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;

Table[a[n], {n, 1, nmax}] (* Jean-François Alcover, Aug 03 2022, after Robert Israel in A000959 *)

CROSSREFS

Cf. A000959.

Sequence in context: A345933 A198325 A293909 * A355248 A111944 A109814

Adjacent sequences: A002847 A002848 A002849 * A002851 A002852 A002853

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane

EXTENSIONS

Paul Zimmermann points out that the second term was incorrectly given as 2 in the Encyclopedia of Integer Sequences.

Missing a(71)-a(73) inserted by Sean A. Irvine, Nov 05 2014

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 December 7 22:27 EST 2022. Contains 358671 sequences. (Running on oeis4.)