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.

A227032 Numbers k such that the sum of the first k prime powers > 1 is divisible by k.

Original entry on oeis.org

1, 3, 36, 75, 96, 692, 732, 798, 2407, 3102, 3941, 4003, 101423, 131281, 337708, 399418, 460530, 480328, 594577, 26121722, 287922744, 702590009, 870360308, 18056232172, 35392830431, 73730356109, 169558413390, 268671255173
Offset: 1

Views

Author

Giovanni Resta, Jun 28 2013

Keywords

Examples

			The first 3 prime powers > 1 are 2, 3, 2^2 and 2+3+2^2 is divisible by 3, so 3 is a term.
		

Crossrefs

Cf. A225792.

Programs

  • Mathematica
    seq = {}; s = n = 0; p = 1; While[n < 10^4, If[Length@FactorInteger[++p] == 1 && Mod[s += p, ++n] == 0, AppendTo[seq, n]]]; seq