OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..794
Dov Jarden, Recurring Sequences, Riveon Lematematika, Jerusalem, 1966. [Annotated scanned copy] See p. 67.
MAPLE
select( k -> numtheory:-phi(6*k)=numtheory:-phi(6*k+2), [$1..10^6]); # Robert Israel, Dec 11 2016
MATHEMATICA
a = {}; Do[If[EulerPhi[6 k] == EulerPhi[6 k + 2], AppendTo[a, k]], {k, 1000000}]; a (* Vincenzo Librandi, Dec 11 2016 *)
PROG
(Magma) [n: n in [1..2*10^6] | EulerPhi(6*n) eq EulerPhi(6*n+2)]; // Vincenzo Librandi, Dec 11 2016
(PARI) isok(k) = eulerphi(6*k) == eulerphi(6*k+2); \\ Michel Marcus, Dec 11 2016
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
N. J. A. Sloane, Dec 10 2016
EXTENSIONS
a(8)-a(33) from Robert Israel, Dec 11 2016
STATUS
approved