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.

A122208 Numbers n such that the sum of the first n^2 primes A109724(n) = A007504(n^2) is a prime.

Original entry on oeis.org

1, 2, 8, 10, 22, 26, 28, 32, 36, 78, 88, 110, 150, 152, 154, 232, 252, 258, 264, 316, 320, 324, 368, 376, 426, 496, 516, 532, 608, 644, 666, 686, 764, 828, 832, 880, 932, 958, 1020, 1090, 1096, 1106, 1122, 1156, 1174, 1206, 1264, 1280, 1282, 1290, 1296, 1326
Offset: 1

Views

Author

Alexander Adamchuk, Aug 25 2006

Keywords

Comments

Corresponding primes that are equal to the sum of the first a(n)^2 primes are listed in A122207(n) = {2, 17, 8893, 24133, 768373, 1583293, 2180741, 3875933, 6426919, 173472547, 289093219, 741938801, 2738357903, 2895147163, 3058653607, ...}. - Robert G. Wilson v, Sep 29 2006

Crossrefs

Programs

  • Mathematica
    s = 0; t = {}; Do[s = s + Sum[Prime@k, {k, (n - 1)^2 + 1, n^2}]; If[PrimeQ@s, AppendTo[t, n]], {n, 1341}]; t (* Robert G. Wilson v *)

Formula

A122207(n) = A109724( a(n) ) = A007504( a(n)^2 ). - Robert G. Wilson v, Sep 29 2006

Extensions

More terms from Robert G. Wilson v, Sep 29 2006