cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A179859 Numbers k that divide the sum of the first k noncomposites.

Original entry on oeis.org

1, 3, 7, 225, 487, 735, 50047, 142835, 170209, 249655, 316585343, 374788043, 2460457827, 2803329305, 6860334657, 65397031525, 78658228039
Offset: 1

Views

Author

Ray Chandler, Jul 29 2010

Keywords

Comments

A variant of A045345 (primes), A053781 (composites) and A129749 (nonprimes).

Examples

			The sum of the first 7 noncomposites is 42 = 6*7, so 7 is in the sequence.
		

Crossrefs

Cf. A008578 (noncomposites), A014284 (sum of first n noncomposites).

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

Numbers k such that k | A014284(k).
a(n) = A179861(n) / A179860(n).
a(n+1) = A158682(n) + 1.

Extensions

a(16)-a(17) from Amiram Eldar, May 24 2024

A179861 a(n) is the sum of the first A179859(n) noncomposites.

Original entry on oeis.org

1, 6, 42, 143100, 775304, 1891890, 14646554832, 130985694070, 188757015148, 419047914740, 1055777525624570390, 1492138298614167680, 70288308055831268412, 91779857115464381780, 571686203669195590338, 56978071532766214007450, 83023388015844408083484
Offset: 1

Views

Author

Ray Chandler, Jul 29 2010

Keywords

Comments

A variant of A050247 (primes), A073262 (composites) and A164280 (nonprimes).

Examples

			A179859(3) = 7; sum of first 7 noncomposites is 42, so a(3) = 42.
		

Crossrefs

Cf. A008578 (noncomposites), A014284 (sum of first n noncomposites).

Formula

a(n) = A014284(A179859(n)) = A179859(n) * A179860(n).

Extensions

a(16)-a(17) from Amiram Eldar, May 24 2024
Showing 1-2 of 2 results.