OFFSET
2,2
LINKS
Michel Lagneau, Table of n, a(n) for n = 2..9999
MATHEMATICA
f[n_]:=Module[{a=n, k=0}, While[a!=1, k++; If[EvenQ[a], a=a/2, a=a*3+1]]; k]; Table[r = f[n]/2^IntegerExponent[f[n], 2]/5^IntegerExponent[f[n], 5]; MultiplicativeOrder[10, r], {n, 2, 100}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Feb 12 2016
STATUS
approved