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-2 of 2 results.

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

Original entry on oeis.org

8431, 9721, 24169, 35311, 63577, 74203, 109471, 109891, 140269, 174613, 176599, 182857, 210187, 241561, 270553, 274837, 274909, 276517, 281557, 324763, 326737, 383659, 464089, 474127, 489109, 498403, 540781, 563587, 576943, 582949, 633253
Offset: 1

Views

Author

Keywords

Comments

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

Crossrefs

Subsequence of A023230, A023262, A023293, and A105133.

Programs

  • Magma
    [n: n in [1..5000000] | IsPrime(n) and IsPrime(8*n+5) and IsPrime(64*n+45) and IsPrime(512*n+365) and IsPrime(4096*n+2925)] // Vincenzo Librandi, Aug 04 2010

Formula

a(n) == 19 or 31 (mod 42). - John Cerkan, Oct 08 2016

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-2 of 2 results.