A062583 Numbers k such that 17^k - 16^k is prime.
5, 7, 79, 523, 571, 2837
Offset: 1
Programs
-
PARI
is(n)=ispseudoprime(17^n-16^n) \\ Charles R Greathouse IV, May 22 2017
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.
is(n)=ispseudoprime(17^n-16^n) \\ Charles R Greathouse IV, May 22 2017
Select[Range[10^5], PrimeQ[25^#-24^# ]&]
Select[Range[10^5], PrimeQ[24^#-23^# ]&]
is(n)=ispseudoprime(12^n-11^n) \\ Charles R Greathouse IV, May 22 2017
forprime(n=1, 9999, ispseudoprime(43^n-42^n) && print1(n", ")) \\ - M. F. Hasler, Sep 21 2013
forprime(n=1,9999,ispseudoprime(45^n-44^n)&print1(n",")) \\ - M. F. Hasler, Sep 21 2013
is(n)=ispseudoprime(18^n-17^n) \\ Charles R Greathouse IV, Jun 06 2017
is(n)=ispseudoprime(44^n-43^n) \\ Charles R Greathouse IV, Jun 06 2017
Comments