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.

A061308 Smaller of two consecutive primes whose sum is a cube.

Original entry on oeis.org

3, 107, 10973, 37039, 186619, 2125757, 2634011, 5323949, 5470519, 6406447, 7443463, 8001491, 12967153, 20353771, 27435973, 29659499, 57395627, 66325487, 99588343, 104792291, 129847021, 134793059, 153090997, 172974199, 186623993, 271669247, 283831771, 343064479
Offset: 1

Views

Author

Amarnath Murthy, Apr 26 2001

Keywords

Examples

			a(2) = 107 as 107 + 109 = 216 = 6^3; a(3) = 10973 as 10973 + 10979 = 21952 = 28^3.
		

Crossrefs

Programs

  • Python
    from _future_ import division
    from sympy import prevprime, nextprime
    A061308_list = [prevprime(n**3//2) for n in range(2,10**4) if prevprime(n**3//2)+nextprime(n**3//2) == n**3] # Chai Wah Wu, Feb 11 2018

Formula

a(n) = prime(A071220(n)). - R. J. Mathar, Aug 11 2012

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), May 15 2001