OFFSET
0,1
FORMULA
a(0) = 11; a(n) = 7*a(n - 1) - 1 if a(n - 1) is odd, a(n) = a(n - 1)/2 if a(n - 1) is even.
EXAMPLE
11 is odd, so it's followed by 7*11 - 1 = 76.
76 is even, so it's followed by 76/2 = 38.
MATHEMATICA
NestList[If[OddQ[#], 7# - 1, #/2] &, 11, 50]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alonso del Arte, Sep 01 2017
STATUS
approved