OFFSET
1,1
COMMENTS
Are all terms even? - Robert Israel, Apr 28 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
24 is in the sequence because 24 is composite and phi(24)+4 = 12 = phi(24+4).
MAPLE
filter:= n -> not isprime(n) and numtheory:-phi(n+4)=numtheory:-phi(n)+4:
select(filter, [$1..10000]); # Robert Israel, Apr 28 2020
MATHEMATICA
Select[Range[9000], CompositeQ[#]&&EulerPhi[#]+4==EulerPhi[#+4]&] (* Harvey P. Dale, Feb 12 2015 *)
PROG
(PARI) is(n)=!isprime(n) && eulerphi(n+4)==eulerphi(n)+4 \\ Charles R Greathouse IV, Apr 28 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 17 2000
EXTENSIONS
Edited by Robert Israel, Apr 28 2020
STATUS
approved