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

A098218
Nonprime numbers whose cototient is a decimal repunits >1 from A002275.
1
35, 121, 231, 327, 535, 1111, 2047, 2407, 2911, 3127, 3327, 20767, 45967, 64111, 75847, 81607, 103927, 177367, 202207, 210767, 224295, 234607, 275647, 277807, 290911, 295447, 305887, 308911, 321407, 333327, 453911, 475967, 586127, 1199327
OFFSET
1,1
COMMENTS
It is believed that for every repdigit r>1, inverse(cototient(r)) has a solution, usually more than one. For r=1, primes are the solutions.
LINKS
EXAMPLE
n=1111 and cototient(1111)=111. By accident, both n and its cototient are decimal repunits.
MATHEMATICA
ta={{0}}; Do[s=Length[u=Union[IntegerDigits[n-EulerPhi[n]]]]; If[Equal[s, 1]&&!PrimeQ[n]&&Equal[u, {1}], Print[{n, n-EulerPhi[n]}]; ta=Append[ta, n]], {n, 1, 100000}]; ta=Delete[ta, 1]; ta-EulerPhi[ta]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Labos Elemer, Oct 22 2004
STATUS
approved