OFFSET
1,2
COMMENTS
See comments at A290100.
A290100(n) is the size of the set at the last iteration, while this sequence is the sum of sizes of all generations including the last iteration.
A290100(n)/A291213(n) < 29/90 for n = {6, 67, 81, 92, 102, 153, 155, 165, 198, 201, 202, 204, 205, 217, 228, 235, 264, 265, 289, 299, 308, 309, 349, 353, 360, 396, 408, 434, ...}, with n = 6 the greatest observed difference. - Michael De Vlieger, Aug 30 2017
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..450
EXAMPLE
For n = 5:
Generation Set
1 (1 term) 5
2 (1 term) 16
3 (2 terms) 8, 49
4 (3 terms) 4, 25, 148
5 (5 terms) 2, 13, 74, 76, 445
6 (8 terms) 1, 7, 37, 38, 40, 223, 229, 1336
thus a(5) = 20 and A290100(5) = 8.
MATHEMATICA
Table[Length@ Flatten@ NestWhileList[Union@ Flatten[# /. {k_ /; OddQ@ k :> 3 k + 1, k_ /; EvenQ@ k :> {k/2, 3 k + 1}}] &, {n}, FreeQ[#, 1] &], {n, 49}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Aug 26 2017
STATUS
approved