OFFSET
1,1
COMMENTS
Next term > 10^9.
MATHEMATICA
t={}; Do[If[PrimeQ[n]==False&&IntegerQ[(n-1)*3/EulerPhi[n]], Print[n]; AppendTo[t, n]], {n, 2, 10^5}]; t
Select[Range[413*10^4], CompositeQ[#]&&Mod[3#-3, EulerPhi[#]]==0&] (* Harvey P. Dale, Nov 02 2024 *)
PROG
(PARI) p=3; forprime(q=5, 1e8, forstep(n=p\4*4, q-1, 4, if((3*n-3)%eulerphi(n)==0, print1(n", "))); p=q) \\ Charles R Greathouse IV, Jul 24 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
José María Grau Ribas, Jul 20 2011
STATUS
approved