OFFSET
1,2
FORMULA
EXAMPLE
The sum of the first 7 noncomposites is 42 = 6*7, so 7 is in the sequence.
PROG
(PARI) lista(kmax) = {my(m = 1, s = 1); print1(1, ", "); forprime(k = 1, kmax, m++; s += k; if(!(s % m), print1(m, ", "))); } \\ Amiram Eldar, May 24 2024
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ray Chandler, Jul 29 2010
EXTENSIONS
a(16)-a(17) from Amiram Eldar, May 24 2024
STATUS
approved