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!)
A087916 Number of ordered ways to write 2n+1 as a sum of 3 odd primes. 6
0, 0, 0, 0, 1, 3, 6, 7, 9, 12, 16, 18, 21, 27, 30, 30, 34, 36, 42, 46, 48, 48, 51, 63, 60, 64, 81, 75, 76, 87, 87, 90, 102, 105, 97, 117, 114, 105, 144, 129, 126, 159, 141, 145, 177, 162, 160, 195, 186, 153, 207, 201, 171, 237, 210, 187, 255, 234, 222, 279 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
MATHEMATICA
nn = 100; lim = 2*nn + 17; ps = Prime[Range[2, nn + 1]]; t = Table[0, {lim}]; Do[s = i + j + k; If[s <= lim, t[[s]]++], {i, ps}, {j, ps}, {k, ps}]; Take[t, {1, lim, 2}] (* T. D. Noe, Apr 10 2014 *)
PROG
(PARI) for(n=0, 100, t=2*n+1; c=0; for(k=2, t, for(l=2, t, for(m=2, t, tt=prime(k)+prime(l)+prime(m); if(tt>2*n+1, break); if(tt==2*n+1, c=c+1)))); print1(c", "))
CROSSREFS
Cf. A007963 (unordered), A068307 (with 2).
Cf. A087917.
Sequence in context: A325443 A085359 A231664 * A359263 A296693 A282585
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Oct 18 2003
EXTENSIONS
Leading zeros added by T. D. Noe, Apr 10 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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)