OFFSET
1,1
COMMENTS
LINKS
Michel Marcus, Table of n, a(n) for n = 1..7280
EXAMPLE
a(3)=10 because A329872(3)=1100 which can be expressed as 1*1100, 2*550, 4*275, 5*220, 10*110, ... where 10*110 is the first case where both factors are nontotients.
PROG
(PARI) is(n) = if(!istotient(n), my(v=divisors(n)); for(i=1, (1+#v)\2, if(istotient(v[i])&&istotient(n/v[i]), return(1))); 0); \\ A329872
lista(nn) = for (n=1, nn, if (is(n), my(d=divisors(n)); for (i=1, (1+#d)\2, if (istotient(d[i]) && istotient(n/d[i]), print1(d[i], ", "); break); ); ); );
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Mar 29 2023
STATUS
approved