OFFSET
0,3
COMMENTS
Class n, for n>0, contains all numbers k such that n iterations of the Euler phi function applied to k yields 2; class 0 contains only the numbers 1 and 2. There is a conjecture that the smallest number in class n is always odd. This increasing sequence supports that conjecture. As shown by Shapiro, all the initial odd numbers in class n>0 are between 2^n and 2^(n+1).
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, 2nd Ed., New York, Springer-Verlag, 1994, B41.
LINKS
Harold Shapiro, An arithmetic function arising from the phi function, Amer. Math. Monthly, Vol. 50, No. 1 (1943), 18-30.
EXAMPLE
a(2) = 2 because the sequence of eight numbers 5,7,8,9,10,12,14,18 (which all take exactly 2 iterations of the phi function to produce 2) begins with 2 odd numbers.
MATHEMATICA
nMax=23; nn=2^nMax; c=Table[0, {nn}]; Do[c[[n]]=1+c[[EulerPhi[n]]], {n, 2, nn}]; Table[Length[Select[Flatten[Position[c, n]], #<=2^n && OddQ[ # ]&]], {n, 0, nMax}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Mar 10 2004, Nov 30 2007, Nov 18 2008
STATUS
approved