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.

A099228 Primes of the form m^k-k, with m and k > 1.

This page as a plain text file.
%I A099228 #10 Jun 06 2021 09:01:21
%S A099228 2,5,7,23,47,61,79,167,223,359,439,503,509,727,839,997,1019,1087,1223,
%T A099228 1367,1847,2207,2399,2741,3023,3719,3967,4093,4759,5039,5623,5927,
%U A099228 6553,7919,8179,8647,10607,11447,13687,14159,14639,15619,16127,17159,17573
%N A099228 Primes of the form m^k-k, with m and k > 1.
%C A099228 It appears that primes of this form are much more common than primes of the form m^k+k (A099227).
%H A099228 Vincenzo Librandi, <a href="/A099228/b099228.txt">Table of n, a(n) for n = 1..1000</a>
%t A099228 nLim=32000; lst={}; Do[k=2; While[n=m^k-k; n<=nLim, AppendTo[lst, n]; k++ ], {m, 2, Sqrt[nLim]}]; Select[Union[lst], PrimeQ]
%Y A099228 Cf. A057897 (numbers of the form m^k-k, with m and k > 1), A084746 (least k such that n^k-k is prime).
%Y A099228 Cf. A099227.
%K A099228 nonn
%O A099228 1,1
%A A099228 _T. D. Noe_, Oct 06 2004