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!)
A298270 Triangular numbers that for some k are also the sum of the first k composites. 1
0, 10, 78, 153, 946, 177310, 450775, 13595505, 150988753, 4478601403, 5409300078, 5589152128, 76060335351, 248156250265, 1793751529485, 176149383165876, 187718592284301, 233626949305596, 11362376565228270, 18886935830647605, 1943937379018997076 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
10 is a term because 10 = 1 + 2 + 3 + 4 = 4 + 6.
MATHEMATICA
Join[{0}, Select[Accumulate[Select[Range[10^6], CompositeQ]], OddQ[Sqrt[8#+1]]&]] (* The program generates the first 14 terms of the sequence. *) (* Harvey P. Dale, Apr 20 2024 *)
PROG
(PARI) lista(nn) = {my(s=0); forcomposite(n=0, nn, if(ispolygonal(s, 3), print1(s, ", ")); s += n; ); } \\ after Michel Marcus at A053767
CROSSREFS
Intersection of A000217 and A053767.
Sequence in context: A127536 A016201 A080618 * A082136 A153596 A316595
KEYWORD
nonn
AUTHOR
Altug Alkan, Feb 15 2018
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 June 23 18:37 EDT 2024. Contains 373653 sequences. (Running on oeis4.)