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

A228026 Primes of the form 4^k + 3.

Original entry on oeis.org

7, 19, 67, 4099, 65539, 262147, 268435459, 1073741827, 19342813113834066795298819
Offset: 1

Views

Author

Vincenzo Librandi, Aug 11 2013

Keywords

Examples

			67 is a term because 4^3 + 3 = 67 is prime.
		

Crossrefs

Cf. A089437 (associated k).
Cf. Primes of the form r^k + h: A092506 (r=2, h=1), A057733 (r=2, h=3), A123250 (r=2, h=5), A104066 (r=2, h=7), A104070 (r=2, h=9), A057735 (r=3, h=2), A102903 (r=3, h=4), A102870 (r=3, h=8), A102907 (r=3, h=10), A290200 (r=4, h=1), this sequence (r=4, h=3), A228027 (r=4, h=9), A182330 (r=5, h=2), A228029 (r=5, h=6), A102910 (r=5, h=8), A182331 (r=6, h=1), A104118 (r=6, h=5), A104115 (r=6, h=7), A104065 (r=7, h=4), A228030 (r=7, h=6), A228031 (r=7, h=10), A228032 (r=8, h=3), A228033 (r=8, h=5), A144360 (r=8, h=7), A145440 (r=8, h=9), A228034 (r=9, h=2), A159352 (r=10, h=3), A159031 (r=10, h=7).

Programs

  • Magma
    [a: n in [0..200] | IsPrime(a) where a is  4^n+3];
  • Mathematica
    Select[Table[4^n + 3, {n, 0, 200}], PrimeQ]

Formula

a(n) = 4^A089437(n) + 3. - Elmo R. Oliveira, Nov 14 2023

Extensions

Cross-references corrected by Robert Price, Aug 01 2017

A228027 Primes of the form 4^k + 9.

Original entry on oeis.org

13, 73, 1033, 262153, 1073741833, 73786976294838206473, 4835703278458516698824713
Offset: 1

Views

Author

Vincenzo Librandi, Aug 11 2013

Keywords

Comments

Subsequence of A104070. - Elmo R. Oliveira, Nov 28 2023

Examples

			262153 is a term because 4^9 + 9 = 262153 is prime.
		

Crossrefs

Cf. A000040, A217350 (corresponding k's).
Cf. Primes of the form r^k + h: A092506 (r=2, h=1), A057733 (r=2, h=3), A123250 (r=2, h=5), A104066 (r=2, h=7), A104070 (r=2, h=9), A057735 (r=3, h=2), A102903 (r=3, h=4), A102870 (r=3, h=8), A102907 (r=3, h=10), A290200 (r=4, h=1), A228026 (r=4, h=3), this sequence (r=4, h=9), A182330 (r=5, h=2), A228029 (r=5, h=6), A102910 (r=5, h=8), A182331 (r=6, h=1), A104118 (r=6, h=5), A104115 (r=6, h=7), A104065 (r=7, h=4), A228030 (r=7, h=6), A228031 (r=7, h=10), A228032 (r=8, h=3), A228033 (r=8, h=5), A144360 (r=8, h=7), A145440 (r=8, h=9), A228034 (r=9, h=2), A159352 (r=10, h=3), A159031 (r=10, h=7).

Programs

  • Magma
    [a: n in [0..200] | IsPrime(a) where a is 4^n+9];
  • Mathematica
    Select[Table[4^n + 9, {n, 0, 200}],PrimeQ]

Formula

a(n) = 4^A217350(n) + 9. - Elmo R. Oliveira, Nov 28 2023

Extensions

Corrected cross-references - Robert Price, Aug 01 2017

A228028 Primes of the form 5^n + 4.

Original entry on oeis.org

5, 29, 15629, 9765629
Offset: 1

Views

Author

Vincenzo Librandi, Aug 11 2013

Keywords

Crossrefs

Cf. A124621 (associated n).
Cf. Primes of the form k^n + h: A092506 (k=2, h=1), A057733 (k=2, h=3), A123250 (k=2, h=5), A104066 (k=2, h=7), A104070 (k=2, h=9), A057735 (k=3, h=2), A102903 (k=3, h=4), A102870 (k=3, h=8), A102907 (k=3, h=10), A290200 (k=4, h=1), A228027 (k=4, h=9), A182330 (k=5, h=2), this sequence (k=5, h=4), A228029 (k=5, h=6), A102910 (k=5, h=8), A182331 (k=6, h=1), A104118 (k=6, h=5), A104115 (k=6, h=7), A104065 (k=7, h=4), A228030 (k=7, h=6), A228031 (k=7, h=10), A228032 (k=8, h=3), A228033 (k=8, h=5), A144360 (k=8, h=7), A145440 (k=8, h=9), A228034 (k=9, h=2), A159352 (k=10, h=3), A159031 (k=10, h=7).

Programs

  • Magma
    [a: n in [0..200] | IsPrime(a) where a is  5^n+4];
  • Mathematica
    Select[Table[5^n + 4, {n, 0, 200}], PrimeQ]

Extensions

Corrected cross-references - Robert Price, Aug 01 2017

A358079 Primes that can be written as 2^x + p where p is a prime and x is a multiple of p.

Original entry on oeis.org

11, 37, 67, 4099, 32771, 262147, 268435463, 1073741827, 36028797018963979, 18889465931478580854821, 151115727451828646838283, 19342813113834066795298819, 618970019642690137449562201, 316912650057057350374175801351, 85070591730234615865843651857942052871
Offset: 1

Views

Author

J. M. Bergot and Robert Israel, Oct 30 2022

Keywords

Examples

			a(3) = 67 is a term because 67 = 2^6 + 3 where 67 and 3 are prime and 6 is divisible by 3.
		

Crossrefs

Contains A057664 and A228032.
Cf. A358087.

Programs

  • Maple
    R:= NULL: count:= 0:
    for k from 1 while count < 15 do
      P:= sort(convert(numtheory:-factorset(k),list));
      for p in P do
        x:= 2^k+p;
        if isprime(x) then R:= R,x; count:= count+1; fi
    od od:R;
Showing 1-4 of 4 results.