login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242113 a(n) = number of primes of the form k^n - m^k where k > m > 0. 1

%I #37 Mar 15 2015 18:19:10

%S 0,1,2,6,7,2,14,7,11,10,33,10,42,35,47,39,122,22,248,113,247,236,751,

%T 75,1268,812,1422,1531,4543,87,8669,5750,8884,10983,29084,2274,58841,

%U 41242,58030,74646,216647,11656,419147,313237,364925,617742,1576642,75542,3071839,2299620

%N a(n) = number of primes of the form k^n - m^k where k > m > 0.

%C It would be good to have a proof that a(n) is always finite. - _N. J. A. Sloane_, Sep 06 2014

%F a(n) >= A245459(n).

%e a(2) = 1 because 2^2 - 1^2 = 3 is prime;

%e a(3) = 2 because 2^3 - 1^2 = 7 is prime and 3^3 - 2^3 = 19 is prime, but 2^3 - 2^3 < 0, 5^3 - 2^5 = 93 is not prime, 5^3 - 2^7 = 215 is not prime, 9^3 - 2^9 = 217 is not prime, 11^3 - 2^11 < 0.

%e More generally, primes of the form k^r - m^k where k > m > 0:

%e r = 2: 3;

%e r = 3: 7, 19;

%e r = 4: 7, 17, 73, 593, 2273, 20369;

%e r = 5: 7, 23, 31, 179, 58537, 1951811, 1986949;

%e r = 6: 4818617, 24006497;

%e r = 7: 7, 47, 79, 103, 127, 1137, 2179, 77101, 162287, 543607, 1706527, 9940951, 6069961193, 25365130463;

%e r = 8: 31, 6553, 141793, 49046209, 815722529, 16983038753, 499709542049;

%e r = 9: 71, 151, 223, 431, 463, 487, 503, 4521799, 133227103, 10604491181, 1175888158183;

%e r = 10: 4177, 37097, 58049, 58537, 1803001, 2486784401, 3486783889, 41426502825041, 819626139497153, 52458394747474721.

%t f[r_] := Length@ Rest@ Union@ Flatten@ Table[ If[ PrimeQ[k^r - m^k], k^r - m^k, 0], {k, 2, 10000000}, {m, Floor[k^(r/k)]}]; Do[ Print[ f[r]], {r, 2, 50}] (* _Robert G. Wilson v_, Aug 25 2014 *)

%Y Cf. A045575, A123206, A245459, A245643.

%K nonn

%O 1,3

%A _Juri-Stepan Gerasimov_, Aug 15 2014

%E a(10)-a(50) from _Robert G. Wilson v_, Aug 25 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)