login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A332530
Numbers k such that k and k + 1 has the same value of A319445, the equivalent of the Euler totient function in the ring of Eisenstein integers.
1
34, 51, 152, 679, 1065, 1845, 6525, 12122, 12970, 15656, 38607, 48398, 175473, 272935, 401505, 953342, 1035895, 1210054, 1222988, 1406665, 1589245, 1607095, 2108186, 2116975, 2272425, 2500615, 2751160, 3399591, 4542225, 5298559, 5412986, 6813585, 6898736, 7115553
OFFSET
1,1
LINKS
EXAMPLE
34 is a term since A319445(34) = A319445(35) = 864.
MATHEMATICA
f[p_, e_] := If[p == 3, 2*3^(2*e - 1), Switch[Mod[p, 3], 1, (p - 1)^2*p^(2*e - 2), 2, (p^2 - 1)*p^(2*e - 2)]]; eisPhi[1] = 1; eisPhi[n_] := Times @@ f @@@ FactorInteger[n]; seq = {}; e1 = eisPhi[1]; Do[e2 = eisPhi[n]; If[e1 == e2, AppendTo[seq, n - 1]]; e1 = e2, {n, 2, 10^6}]; seq
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Feb 15 2020
STATUS
approved