OFFSET
1,1
COMMENTS
Totient numbers of the form (k^(i+1) - 1)/(k - 1) where k and i are both odd numbers that are greater than 1.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
40 is a term because 1 + 3 + 9 + 27 = 40 is a totient number.
PROG
(PARI) list(lim)=my(v=List(), e, t); for(b=2, sqrt(lim), e=3; while((t=(b^e-1)/(b-1))<=lim, if(istotient(t), listput(v, t)); e++)); vecsort(Vec(v), , 8) \\ Ray Chandler, Feb 08 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Feb 06 2017
EXTENSIONS
Terms confirmed by Ray Chandler, Feb 08 2017
STATUS
approved
