A075477 Number of iteration that first becomes smaller than the initial value if Collatz-function (A006370) is iterated, starting with numbers of form 64n+15. Corresponds to selection of every 16th term from A074474.
12, 14, 12, 22, 12, 14, 12, 20, 12, 14, 12, 22, 12, 14, 12, 17, 12, 14, 12, 20, 12, 14, 12, 40, 12, 14, 12, 58, 12, 14, 12, 17, 12, 14, 12, 33, 12, 14, 12, 33, 12, 14, 12, 25, 12, 14, 12, 17, 12, 14, 12, 33, 12, 14, 12, 27, 12, 14, 12, 40, 12, 14, 12, 17, 12, 14, 12, 69, 12
Offset: 0
Keywords
Examples
n=0: 64n+15=15,list={15,46,23,70,35,106,53,160,80,40,20,10..}, i.e. the 12th term is the first that <15, the initial value.
Links
Programs
-
PARI
A006370(n) = if(n%2, 3*n+1, n/2); A074473(n) = if(1==n,n,my(org_n=n); for(i=1,oo,if(n
A006370(n))); A075477(n) = A074473((64*n)+15); \\ Antti Karttunen, Oct 09 2018
Formula
a(n) = A074473(64n+15), n=0..256. [corrected by Antti Karttunen, Oct 09 2018]
Comments