login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179859 Numbers k that divide the sum of the first k noncomposites. 2
1, 3, 7, 225, 487, 735, 50047, 142835, 170209, 249655, 316585343, 374788043, 2460457827, 2803329305, 6860334657, 65397031525, 78658228039
(list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A variant of A045345 (primes), A053781 (composites) and A129749 (nonprimes).
LINKS
FORMULA
Numbers k such that k | A014284(k).
a(n) = A179861(n) / A179860(n).
a(n+1) = A158682(n) + 1.
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
Cf. A008578 (noncomposites), A014284 (sum of first n noncomposites).
Sequence in context: A057619 A349006 A349838 * A061422 A206333 A088097
KEYWORD
nonn,more
AUTHOR
Ray Chandler, Jul 29 2010
EXTENSIONS
a(16)-a(17) from Amiram Eldar, May 24 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 19 12:32 EDT 2024. Contains 376012 sequences. (Running on oeis4.)