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.

A154674 Averages of twin prime pairs k such that k*11 and k/11 are squares.

Original entry on oeis.org

990000, 1940400, 2227500, 6187500, 35640000, 54212400, 57182400, 74933100, 159677100, 164745900, 167310000, 194040000, 289485900, 380318400, 424205100, 496742400, 664101900, 684773100, 902919600, 976100400, 982327500, 1007433900
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    lst={};Do[If[PrimeQ[n-1]&&PrimeQ[n+1],s=(n*11)^(1/2);If[Floor[s]==s,AppendTo[lst,n]]],{n,6,11!,6}];lst...and/or... lst={};Do[If[PrimeQ[n-1]&&PrimeQ[n+1],s=(n/11)^(1/2);If[Floor[s]==s,AppendTo[lst,n]]],{n,6,11!,6}];lst
    Select[11*Range[10^4]^2, And @@ PrimeQ[# + {-1, 1}] &] (* Amiram Eldar, Dec 25 2019 *)
  • PARI
    for(i=1,999, isprime(9900*i^2+1) && isprime(9900*i^2-1) && print1(9900*i^2",")) \\ M. F. Hasler, Jan 15 2009

Formula

a(n) = 9900*A154774(n)^2. - M. F. Hasler, Jan 15 2009

Extensions

More terms from M. F. Hasler, Jan 15 2009