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.

A174862 Smallest prime p such that the sum of the squares of primes up to p is a multiple of 10^n.

Original entry on oeis.org

907, 977, 977, 36643, 1067749, 17777197, 71622461, 2389799983, 31252968359, 49460594569, 1915014433303, 4076200167673
Offset: 1

Views

Author

Benjamin R. Buhrow, Mar 31 2010

Keywords

Comments

Sequence discovery attributed to davar55. Initial work performed by Charles R Greathouse IV. Sequence extension performed and custom software written by Benjamin R. Buhrow.

Examples

			For a(1) = 907, 2^2 + 3^2 + 5^2 + ... + 907^2 = 37464550, which is a multiple of 10^1.
For a(2) = 977, 2^2 + ... + 977^2 = 46403000, which is a multiple of 10^2 and 10^3.
		

Crossrefs

A330308 Smallest prime p such that the sum of cubes of all primes up to p is a multiple of 10^n.

Original entry on oeis.org

5, 233, 8783, 24763, 5828099, 9229931, 262707241, 7717488553, 34529828929, 311995561321, 549120448879, 33777547344991
Offset: 1

Views

Author

Hugo Pfoertner, Dec 10 2019

Keywords

Comments

Suggested in a discussion in Mersenneforum, with contributions by users "davar55", Charles R Greathouse IV, and Benjamin R. Buhrow. The latter calculated terms a(1)-a(12) of this sequence (see links).

Examples

			a(1): 10 divides prime cube sum up to 5, sum = 2^3 + 3^3 + 5^3 = 160;
a(2): 100 divides prime cube sum up to 233, sum = 143309500;
a(3): 1000 divides prime cube sum up to 8783, sum = 167992435025000.
		

Crossrefs

Programs

  • PARI
    for(n=1,8,my(n10=10^n,s=0);forprime(p=2,oo,s+=p^3;if(!(s%n10),print1(p,", ");break)))
Showing 1-2 of 2 results.