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!)
A013921 Composite numbers that are equal to the sum of the first k composites for some k. 7
4, 10, 18, 27, 49, 63, 78, 94, 112, 132, 153, 175, 224, 250, 305, 335, 400, 434, 469, 505, 543, 582, 622, 664, 708, 753, 799, 847, 896, 946, 1158, 1214, 1271, 1329, 1389, 1514, 1578, 1643, 1846, 1916, 1988, 2062, 2290, 2368, 2448, 2529, 2611, 2695, 2780, 2866 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A053767(A013919(n)). [Found by LODA miner] - Christian Krause, Nov 24 2022
MATHEMATICA
Module[{nn=100, comps}, comps=Complement[Range[4, nn], Prime[ Range[ PrimePi[ nn]]]]; Select[Accumulate[comps], !PrimeQ[#]&]] (* Harvey P. Dale, May 21 2014 *)
PROG
(PARI) isok(c) = if ((c>1) && !isprime(c), my(s=0); forcomposite(x=1, oo, s+=x; if (s == c, return(1)); if (s > c, return(0)))); \\ Michel Marcus, Nov 25 2022
CROSSREFS
Sequence in context: A172484 A009876 A161958 * A217748 A028552 A009877
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from David W. Wilson
Name edited by Michel Marcus, Nov 25 2022
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 29 22:06 EDT 2024. Contains 372114 sequences. (Running on oeis4.)