login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A268731 Period of the decimal expansion of 1/h(n) where h(n) is the length of the finite sequence {n, f(n), f(f(n)),...,1} in the Collatz (or 3n + 1) problem. 1
1, 6, 1, 1, 1, 1, 1, 18, 1, 6, 1, 1, 16, 16, 1, 1, 1, 1, 6, 6, 1, 1, 1, 22, 1, 3, 1, 1, 1, 13, 1, 6, 6, 6, 6, 6, 6, 16, 1, 108, 1, 28, 1, 1, 1, 6, 2, 1, 1, 1, 2, 2, 6, 6, 18, 1, 18, 1, 18, 18, 53, 53, 1, 3, 3, 3, 6, 6, 6, 16, 2, 22, 2, 6, 2, 2, 6, 6, 1, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
a(n) = A007732(A006577(n)).
LINKS
EXAMPLE
a(3) = 6 because A007732(A006577(3)) = A007732(7) = 6.
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
Sequence in context: A373703 A167155 A369465 * A080219 A339747 A293901
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Feb 12 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 12 03:11 EDT 2024. Contains 374237 sequences. (Running on oeis4.)