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.

A259535 Numbers k such that 159^k - 158^k is prime.

This page as a plain text file.
%I A259535 #25 Oct 15 2024 08:30:08
%S A259535 2,3,17,107,13313
%N A259535 Numbers k such that 159^k - 158^k is prime.
%C A259535 a(5) is only a strong pseudoprime. - _Tim Johannes Ohrtmann_, Jun 20 2016
%C A259535 a(6) > 30000. - _Michael S. Branicky_, Oct 15 2024
%t A259535 Select[Range[2000], PrimeQ[159^# - 158^#] &] (* _Vincenzo Librandi_, Jul 01 2015 *)
%o A259535 (Magma) [n: n in [0..1000] | IsPrime(159^n-158^n)]; // _Vincenzo Librandi_, Jul 01 2015
%o A259535 (PARI) is(n)=ispseudoprime(159^n-158^n) \\ _Charles R Greathouse IV_, Jun 13 2017
%Y A259535 Cf. A254298.
%K A259535 nonn,more,hard
%O A259535 1,1
%A A259535 _Michael P. May_, Jun 29 2015
%E A259535 a(4) from _Vincenzo Librandi_, Jul 01 2015
%E A259535 a(5) from _Tim Johannes Ohrtmann_, Jun 20 2016