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.

A100604 Numbers k such that (prime(k)-1)! + prime(k)^3 is prime.

This page as a plain text file.
%I A100604 #20 Jul 02 2024 10:19:10
%S A100604 2,3,4,28,894
%N A100604 Numbers k such that (prime(k)-1)! + prime(k)^3 is prime.
%C A100604 k = {2, 3, 4, 28} yields primes p(k) = {3, 5, 7, 107}. There are no more such k up to k=100. Verified by _Ray Chandler_.
%C A100604 a(5) > 600. - _Jinyuan Wang_, Apr 10 2020
%C A100604 a(6) > 2500. - _Michael S. Branicky_, Jul 02 2024
%F A100604 Numbers k such that (prime(k)-1)! + prime(k)^3 is prime, where prime(k) is the k-th prime.
%e A100604 a(3) = 4 because (prime(4)-1)! + prime(4)^3 = (7-1)! + 7^3 = 720 + 343 = 1063 is the 3rd prime of this form.
%t A100604 Select[Range[30],PrimeQ[(Prime[#]-1)!+Prime[#]^3]&] (* _Harvey P. Dale_, Jul 13 2022 *)
%o A100604 (PARI) is(k) = ispseudoprime((prime(k)-1)! + prime(k)^3); \\ _Jinyuan Wang_, Apr 10 2020
%Y A100604 Cf. A100605, A100858.
%K A100604 nonn,hard,more
%O A100604 1,1
%A A100604 _Jonathan Vos Post_, Nov 30 2004
%E A100604 a(5) from _Michael S. Branicky_, Jul 01 2024