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”).

A193276
Composite numbers n such that phi(n) divides 3n - 3.
0
9, 21, 65, 1729, 3201, 4125441
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
Sequence in context: A338007 A147466 A262055 * A173084 A137340 A075640
KEYWORD
nonn
AUTHOR
STATUS
approved