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.

A124417 a(n) = least k such that 2^i*k+1 is prime for 1<=i<=n.

Original entry on oeis.org

1, 1, 9, 765, 765, 8325, 8325, 7757430, 428547690, 102764221560, 694561346985, 108428872433310, 379041973928475, 34628781572140470, 34628781572140470
Offset: 1

Views

Author

Artur Jasinski, Nov 02 2006

Keywords

Crossrefs

Programs

  • Mathematica
    k = 1; Do[If[n < 3, inc = 1,If[n == 3, inc = 3, inc = 15];];If[Mod[k, inc] > 0, k = k + inc - Mod[k, inc]];While[Nand @@ PrimeQ[Table[2^j, {j, n}]*k + 1], k += inc]; Print[k], {n, 1, 15}] (* Ray Chandler, Nov 21 2006 *)

Extensions

Edited by Ray Chandler, Nov 21 2006
a(10) from Farideh Firoozbakht, Nov 25 2006
a(11)-a(15) from Giovanni Resta, Apr 24 2019

A124412 Numbers k such that 2*k+1, 4*k+1, 8*k+1 and 16*k+1 are primes.

Original entry on oeis.org

765, 1065, 1155, 1530, 3105, 3420, 3705, 5160, 6840, 7695, 8325, 9060, 11265, 11505, 12195, 14835, 15390, 15885, 16650, 17655, 20745, 22185, 23205, 27300, 28155, 28995, 30165, 30690, 33300, 33825, 39015, 41715, 42690, 44370, 48465, 49935
Offset: 1

Views

Author

Artur Jasinski, Nov 02 2006

Keywords

Crossrefs

Programs

  • Mathematica
    Select[15*Range[3500], And @@ PrimeQ /@ ({2, 4, 8, 16}*# + 1) &] (* Ray Chandler, Nov 21 2006 *)
Showing 1-2 of 2 results.