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.

A074925 Numbers n such that n^3 is a sum of two successive primes.

Original entry on oeis.org

2, 6, 28, 42, 72, 162, 174, 220, 222, 234, 246, 252, 296, 344, 380, 390, 486, 510, 584, 594, 638, 646, 674, 702, 720, 816, 828, 882, 942, 948, 990, 1044, 1056, 1146, 1200, 1314, 1422, 1436, 1554, 1566, 1596, 1602, 1632, 1740, 1770, 1778, 1806, 1818, 1824
Offset: 1

Views

Author

Zak Seidov, Oct 02 2002

Keywords

Comments

Prime(n)+ prime(n+1) as a square in A064397; n^2 as a sum of two successive primes in A074924; prime(n)+ prime(n+1) as a cube in A071220.

Examples

			6^3 = 216 = 107 + 109.
		

Crossrefs

Programs

  • Mathematica
    Surd[#,3]&/@Select[Total/@Partition[Prime[Range[150*10^6]],2,1], IntegerQ[ Surd[#,3]]&] (* Harvey P. Dale, Jun 05 2018 *)
  • Python
    from sympy import nextprime, prevprime
    A074925_list = [i for i in range(2,10**4,2) if prevprime(i**3//2) + nextprime(i**3//2) == i**3] # Chai Wah Wu, Feb 22 2017

Extensions

More terms from Zak Seidov, Jul 22 2009