OFFSET
1,2
EXAMPLE
78 is a term because 78 = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 = 1 + 2 + 3 + 5 + 7 + 11 + 13 + 17 + 19.
MATHEMATICA
Select[Accumulate[Join[{1}, Prime[Range[10000]]]], IntegerQ[Sqrt[8 # + 1]] &]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Aug 08 2023
EXTENSIONS
a(6) from Jinyuan Wang, Aug 09 2023
STATUS
approved