A179859 Numbers k that divide the sum of the first k noncomposites.
1, 3, 7, 225, 487, 735, 50047, 142835, 170209, 249655, 316585343, 374788043, 2460457827, 2803329305, 6860334657, 65397031525, 78658228039
Offset: 1
Examples
The sum of the first 7 noncomposites is 42 = 6*7, so 7 is in the sequence.
Crossrefs
Programs
-
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
Formula
Extensions
a(16)-a(17) from Amiram Eldar, May 24 2024
Comments