OFFSET
1,3
COMMENTS
LINKS
FORMULA
EXAMPLE
7 -> 11 -> 17 -> 26, so a(7) = A007814(26) = 1.
PROG
(PARI) a(n)= valuation((3/2)^valuation(n+1, 2)*(n+1)-1, 2);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ruud H.G. van Tol, Aug 28 2024
STATUS
approved