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.

A300363 Sum of primes of the form b^2+1 for b <= 10^n.

Original entry on oeis.org

2, 162, 45052, 29570385, 24699073806, 20281853994629, 16998638126185703, 14511042624337529267, 12647180923917812683382, 11222444317042682292853518, 10085250548770665025465417675
Offset: 0

Views

Author

Seiichi Manyama, Mar 04 2018

Keywords

Examples

			a(1) = 2 + 5 + 17 + 37 + 101 = 162.
a(2) = 2 + 5 + 17 + 37 + 101 + 197 + 257 + 401 + 577 + 677 + 1297 + 1601 + 2917 + 3137 + 4357 + 5477 + 7057 + 8101 + 8837 = 45052.
		

Crossrefs

Programs

  • PARI
    list(len) = {my(pow = 1, p, s = 0); for(k = 1, 10^len, p = k^2 + 1; if(isprime(p), s += p); if(k == pow, print1(s, ", "); pow *= 10));} \\ Amiram Eldar, Jul 18 2025

Extensions

a(8) corrected and a(9)-a(10) added by Amiram Eldar, Jul 18 2025