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.

A108022 a(1)=2; a(n) is the smallest prime such that a(n)-a(n-1) is a 4th power (>0).

Original entry on oeis.org

2, 3, 19, 160019, 1049920019, 1050730019, 1051540019, 12910750019, 13960510019, 14167870019, 67252030019, 67252840019, 67318450019, 196918450019, 197968210019, 568118770019, 568119580019, 938270140019, 938477500019
Offset: 1

Views

Author

John L. Drost, May 31 2005

Keywords

Comments

All members after 19 will end in '0019'.
Also, for n > 3, a(n) - a(n - 1) = k^4, k is a multiple of 30. - Zak Seidov, Apr 09 2013

Examples

			a(3)=19, for 19 +k^4 to be prime, k must be even and divisible by 5. 19+10^4=10019=43*233,but 19+20^4 is prime.
		

Crossrefs

Programs

  • Mathematica
    Join[{2,3,19,p=160019},Table[x=30;While[!PrimeQ[q=p+x^4],x=x+30];p=q,{19}]] (* Zak Seidov, Apr 09 2013 *)