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.

Previous Showing 11-15 of 15 results.

A273524 Numbers n such that 7^n-6^(n-1) is prime.

Original entry on oeis.org

2, 3, 5, 6, 7, 11, 17, 18, 54, 509, 529, 2526, 3042, 3421, 4485, 13127, 17602, 23825, 27381
Offset: 1

Views

Author

Robert Price, May 23 2016

Keywords

Comments

a(20) > 10^5.

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 100000], PrimeQ[7^# - 6^(# - 1)] &]
  • PARI
    is(n)=ispseudoprime(7^n-6^(n-1)) \\ Charles R Greathouse IV, Jun 13 2017

A273868 Numbers k such that 10^k - 9^(k+1) is prime.

Original entry on oeis.org

25, 51, 91, 107, 145, 651, 1473, 2145, 5577, 12457
Offset: 1

Views

Author

Robert Price, Jun 01 2016

Keywords

Comments

a(11) > 10^5.

Examples

			25 is a term since 10^25 - 9^26 = 3538918110773326701067759, which is a prime number.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[21, 100000], PrimeQ[10^# - 9^(# + 1)] &]
  • PARI
    is(n)=ispseudoprime(10^n-9^(n+1)) \\ Charles R Greathouse IV, Jun 08 2016

A274693 Numbers n such that 4^n + 3^(n+1) is prime.

Original entry on oeis.org

1, 2, 4, 5, 9, 10, 12, 17, 18, 29, 30, 40, 58, 82, 113, 129, 164, 192, 252, 524, 624, 766, 977, 1742, 2208, 2440, 3052, 4742, 5480, 16572, 17501
Offset: 1

Views

Author

Robert Price, Jul 02 2016

Keywords

Comments

a(32) > 10^5.

Examples

			5 is a member since 4^5 + 3^6 = 1024 + 729 = 1753 which is a prime number.
		

Crossrefs

Programs

  • Magma
    [n: n in [1..700] | IsPrime(4^n + 3^(n+1))]; // Vincenzo Librandi, Jul 03 2016
  • Mathematica
    Select[Range[0, 100000], PrimeQ[4^# + 3^(# + 1)] &]
  • PARI
    lista(nn) = for(n=1, nn, if(ispseudoprime(4^n + 3^(n+1)), print1(n, ", "))); \\ Altug Alkan, Jul 02 2016
    

A274711 Numbers n such that 5^n + 4^(n+1) is prime.

Original entry on oeis.org

0, 2, 6, 34, 282, 3662, 87206
Offset: 1

Views

Author

Robert Price, Jul 03 2016

Keywords

Comments

a(8) > 10^5.

Examples

			6 is a member since 5^6 + 4^7 = 15625 + 16384 = 32009 which is a prime number.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 100000], PrimeQ[5^# + 4^(# + 1)] &]
  • PARI
    lista(nn) = for(n=0, nn, if(ispseudoprime(5^n + 4^(n+1)), print1(n, ", "))); \\ Altug Alkan, Jul 03 2016

A275783 Numbers n such that 10^n + 9^(n+1) is prime.

Original entry on oeis.org

2, 3, 6, 11, 44, 64, 83, 123, 166, 381, 446, 1221, 1540, 3156, 5117, 5476, 6291, 6353, 13053, 15158, 23904, 78288, 82254, 91230
Offset: 1

Views

Author

Robert Price, Aug 08 2016

Keywords

Comments

a(25) > 10^5.

Examples

			3 is a member since 10^3 + 9^4 = 1000 + 6561 = 7561 which is a prime number.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 100000], PrimeQ[10^# + 9^(# + 1)] &]
  • PARI
    is(n)=ispseudoprime(10^n+9^(n+1)) \\ Charles R Greathouse IV, Jun 13 2017
Previous Showing 11-15 of 15 results.