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.

A062666 Numbers k such that 100^k - 99^k is prime.

This page as a plain text file.
%I A062666 #24 Oct 22 2024 03:19:29
%S A062666 2,5,19,59,1013,2371,13967,44683
%N A062666 Numbers k such that 100^k - 99^k is prime.
%C A062666 Terms > 10000 correspond to probable primes.
%C A062666 a(9) > 10^5. - _Robert Price_, Jul 10 2013
%t A062666 lst={}; k=100; Do[If[PrimeQ[k^n-(k-1)^n], Print[n]; AppendTo[lst, n]], {n, 10^5}]; lst (* _Vladimir Joseph Stephan Orlovsky_, Aug 26 2008 *)
%o A062666 (PARI) forprime(p=2,1e5,if(ispseudoprime(100^p-99^p),print1(p", "))) \\ _Charles R Greathouse IV_, Jun 10 2011
%Y A062666 Cf. A000043, A057468, A059801, A059802, A062572-A062665.
%K A062666 nonn,hard
%O A062666 1,1
%A A062666 _Mike Oakes_, May 18 2001, May 19 2001
%E A062666 Edited by _T. D. Noe_, Oct 30 2008
%E A062666 a(7)-a(8) from _Robert Price_, Jul 10 2013