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.

A163421 Primes of the form ((p-1)/2)^3+((p+1)/2), p are prime numbers.

Original entry on oeis.org

3, 11, 31, 131, 223, 521, 739, 3391, 5851, 9283, 24419, 27031, 59359, 68963, 85229, 110641, 148931, 157519, 175673, 328579, 405299, 571871, 857471, 1561013, 1728121, 2248223, 2460511, 3112283, 3581731, 3724031, 4741801, 5735519
Offset: 1

Views

Author

Keywords

Comments

Subsequence of A095692.
((3-1)/2)^3+((3+1)/2)=1+2=3, ((5-1)/2)^3+((5+1)/2)=8+3=11, ((7-1)/2)^3+((7+1)/2)=27+4=31,..

Crossrefs

Programs

  • Mathematica
    f[n_]:=((p-1)/2)^3+((p+1)/2); lst={};Do[p=Prime[n];If[PrimeQ[f[p]],AppendTo[lst,f[p]]],{n,6!}];lst

Extensions

Comment from Charles R Greathouse IV, Aug 11 2009