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.

A062576 Numbers k such that 10^k - 9^k is prime.

This page as a plain text file.
%I A062576 #24 Jul 04 2021 07:52:06
%S A062576 2,3,7,11,19,29,401,709,2531,15787,66949,282493
%N A062576 Numbers k such that 10^k - 9^k is prime.
%C A062576 Terms > 1000 are often only strong pseudoprimes.
%C A062576 All terms are prime. - _Alexander Adamchuk_, Apr 27 2008
%H A062576 Henri & Renaud Lifchitz, <a href="http://www.primenumbers.net/prptop/searchform.php?form=10%5Ex-9%5Ex&amp;action=Search">PRP Records</a>.
%e A062576 10^2 - 9^2 = 100 - 81 = 19, which is prime, hence 2 is in the sequence.
%e A062576 10^3 - 9^3 = 1000 - 729 = 271, which is prime, hence 3 is in the sequence.
%e A062576 10^4 - 9^4 = 10000 - 6561 = 3439 = 19 * 181, which is not prime, hence 4 is not in the sequence.
%t A062576 Select[Range[1000], PrimeQ[10^# - 9^#] &] (* _Alonso del Arte_, Sep 06 2013 *)
%o A062576 (PARI) is(n)=ispseudoprime(10^n-9^n) \\ _Charles R Greathouse IV_, Feb 20 2017
%Y A062576 Cf. A000043, A057468, A059801, A059802, A059803 (9^n-8^n is prime), A062572-A062666.
%Y A062576 Cf. A016189 = 10^n - 9^n, and A199819 (primes of this form).
%K A062576 nonn,hard
%O A062576 1,1
%A A062576 _Mike Oakes_, May 18 2001, May 19 2001
%E A062576 Three more terms 15787, 66949 and 282493 found by _Jean-Louis Charton_ in 2004 and 2007