OFFSET
1,1
COMMENTS
The sequence appears to be infinite, but I have no proof. There are many consecutive values: e.g., 3,4,5,6; 101,102; 212,213,214; 355,356.
The generalized Bunyakovsky conjecture implies that there are infinitely many primes in the sequence, i.e. primes p such that (p-1)^3+3 = phi(p)^3+3 is prime (sequence A333199). - Robert Israel, Mar 11 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 102 since 3 + phi(102)^3 = 3 + 1061208 = 1061211 is prime.
MAPLE
select(t -> isprime(numtheory:-phi(t)^3+3), [$1..1000]); # Robert Israel, Mar 11 2020
MATHEMATICA
Select[Range[1000], PrimeQ[3 + EulerPhi[#]^3] &] (* Indranil Ghosh, Apr 02 2017 *)
PROG
(PARI) isok(n) = isprime(3+eulerphi(n)^3); \\ Michel Marcus, Apr 02 2017
(Python)
from sympy import isprime, totient
print([n for n in range(1001) if isprime(3 + totient(n)**3)]) # Indranil Ghosh, Apr 02 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Carmine Suriano, Sep 14 2010
STATUS
approved