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

A131827
Numbers k such that cototient(x) = k has exactly 2 solutions.
0
4, 7, 9, 11, 13, 15, 36, 37, 44, 46, 54, 56, 70, 80, 84, 88, 90, 92, 94, 112, 118, 138, 142, 152, 158, 160, 162, 164, 166, 174, 176, 182, 184, 188, 198, 210, 212, 214, 228, 230, 234, 236, 252, 272, 276, 278, 282, 304, 312, 316, 318, 320, 322, 328, 352, 354, 364
OFFSET
1,1
EXAMPLE
4 = cototient(6) = cototient(8) and there are no other solutions.
PROG
(PARI) lista(nn) = {my(v=vector(nn^2, i, i - eulerphi(i))); for(k=0, nn, if(sum(i=1, k*k, k==v[i])==2, print1(k, ", "))); } \\ Jinyuan Wang, Mar 21 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Franz Vrabec, Jul 19 2007
EXTENSIONS
More terms from Jinyuan Wang, Mar 21 2020
STATUS
approved