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.

A058046 Numbers k such that 5^k - k is prime.

This page as a plain text file.
%I A058046 #16 May 02 2025 16:55:01
%S A058046 2,6,12,362,884,9722
%N A058046 Numbers k such that 5^k - k is prime.
%C A058046 Farideh Firoozbakht reports that the only known prime of the form 5^k + k occurs when k = 7954 and that there are no others up to 20200. Oct 11 2003. [See A382786. - _Michael S. Branicky_, May 02 2025]
%C A058046 a(7) > 2*10^5. - _Robert Price_, Jan 16 2014
%t A058046 Do[ If[ PrimeQ[ 5^n - n ], Print[ n ] ], {n, 1, 13400} ]
%o A058046 (PARI) is(n)=ispseudoprime(5^n-n) \\ _Charles R Greathouse IV_, Feb 20 2017
%Y A058046 Cf. A382786.
%K A058046 nonn,more
%O A058046 1,1
%A A058046 _Robert G. Wilson v_, Nov 17 2000
%E A058046 The sixth term was found by _Farideh Firoozbakht_, who reports that there are no others up to 13400, Oct 11 2003