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.
%I A179859 #9 May 24 2024 08:39:20 %S A179859 1,3,7,225,487,735,50047,142835,170209,249655,316585343,374788043, %T A179859 2460457827,2803329305,6860334657,65397031525,78658228039 %N A179859 Numbers k that divide the sum of the first k noncomposites. %C A179859 A variant of A045345 (primes), A053781 (composites) and A129749 (nonprimes). %F A179859 Numbers k such that k | A014284(k). %F A179859 a(n) = A179861(n) / A179860(n). %F A179859 a(n+1) = A158682(n) + 1. %e A179859 The sum of the first 7 noncomposites is 42 = 6*7, so 7 is in the sequence. %o A179859 (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 %Y A179859 Cf. A008578 (noncomposites), A014284 (sum of first n noncomposites). %Y A179859 Cf. A045345, A053781, A129749, A179860, A179861. %K A179859 nonn,more %O A179859 1,2 %A A179859 _Ray Chandler_, Jul 29 2010 %E A179859 a(16)-a(17) from _Amiram Eldar_, May 24 2024