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!)
A348136 Irregular triangle read by rows T(n,k) in which row n lists the first digit of every term of the trajectory of n in Collatz problem including the trajectory [1, 4, 2, 1] for n = 1. 0
1, 4, 2, 1, 2, 1, 3, 1, 5, 1, 8, 4, 2, 1, 4, 2, 1, 5, 1, 8, 4, 2, 1, 6, 3, 1, 5, 1, 8, 4, 2, 1, 7, 2, 1, 3, 1, 5, 2, 1, 4, 2, 1, 5, 1, 8, 4, 2, 1, 8, 4, 2, 1, 9, 2, 1, 7, 2, 1, 3, 1, 5, 2, 1, 4, 2, 1, 5, 1, 8, 4, 2, 1, 1, 5, 1, 8, 4, 2, 1, 1, 3, 1, 5, 2, 1, 4, 2, 1, 5, 1, 8, 4, 2, 1, 1, 6, 3, 1, 5, 1, 8, 4, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(m) = A000030(A235795(m)), m >= 1.
T(n,k) = A000030(A235795(n,k)).
EXAMPLE
Triangle begins:
1,4,2,1;
2,1;
3,1,5,1,8,4,2,1;
4,2,1;
5,1,8,4,2,1;
6,3,1,5,1,8,4,2,1;
7,2,1,3,1,5,2,1,4,2,1,5,1,8,4,2,1;
8,4,2,1;
9,2,1,7,2,1,3,1,5,2,1,4,2,1,5,1,8,4,2,1;
1,5,1,8,4,2,1;
1,3,1,5,2,1,4,2,1,5,1,8,4,2,1;
1,6,3,1,5,1,8,4,2,1;
1,4,2,1,5,1,8,4,2,1;
1,7,2,1,3,1,5,2,1,4,2,1,5,1,8,4,2,1;
...
MATHEMATICA
Prepend[Map[First@ IntegerDigits[#] &, Array[NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, #, # > 1 &] &, 11, 2], {2}], NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, 1, # > 1 &, {2, 1}]] // Flatten (* Michael De Vlieger, Oct 27 2021 *)
CROSSREFS
First digit of every term of A235795.
First column gives A000030.
Cf. A006370, A014682, A070165, A235800, A347270 (all 3x+1 sequences).
Sequence in context: A075826 A085245 A327694 * A235795 A046096 A080816
KEYWORD
nonn,base,tabf
AUTHOR
Omar E. Pol, Oct 02 2021
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 April 27 01:58 EDT 2024. Contains 372004 sequences. (Running on oeis4.)