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.

Showing 1-1 of 1 results.

A023349 Primes that remain prime through 5 iterations of function f(x) = 8x + 5.

Original entry on oeis.org

109891, 324763, 852367, 3371527, 3557797, 4448701, 4471549, 5304661, 5616679, 5688919, 5727349, 7766659, 8028109, 8554999, 9034723, 10867099, 11146987, 12396487, 12926401, 14186611, 18274513, 19251517, 20882713, 21810493, 23953921
Offset: 1

Views

Author

Keywords

Comments

Primes p such that 8*p+5, 64*p+45, 512*p+365, 4096*p+2925 and 32768*p+23405 are also primes. - Vincenzo Librandi, Aug 05 2010

Crossrefs

Subsequence of A023230, A023262, A023293, A023321, and A105133.

Programs

  • Magma
    [n: n in [1..19000000] | IsPrime(n) and IsPrime(8*n+5) and IsPrime(64*n+45) and IsPrime(512*n+365) and IsPrime(4096*n+2925) and IsPrime(32768*n+23405)] // Vincenzo Librandi, Aug 05 2010
  • Mathematica
    p5Q[n_]:=And@@PrimeQ/@NestList[8#+5&,n,5]; Parallelize[Select[Prime[Range[1510000]],p5Q]] (* Harvey P. Dale, Feb 22 2011 *)

Formula

a(n) == 19 (mod 42). - John Cerkan, Nov 06 2016
Showing 1-1 of 1 results.