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!)
A346593 Numbers k such that A006577(k^3) sets a new record. 4
2, 3, 6, 7, 14, 15, 25, 41, 45, 71, 79, 153, 233, 235, 470, 503, 707, 741, 1482, 2964, 3039, 3581, 7162, 14324, 27337, 54674, 61683, 123366, 168159, 254251, 302839, 605678, 622699, 947173, 1618687, 3237374, 6474748, 10995401, 13042083, 21767875, 43535750, 48584565 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
s[n_]:=s[n]=(i=0; r=n; While[r!=1, i++; If[EvenQ@r, r=r/2, r=r*3+1]]; i);
lst={}; max=1; Do[t=s[k^3]; If[t>max, AppendTo[lst, k]; max=t], {k, 10^4}]; lst (* Giorgos Kalogeropoulos, Jul 28 2021 *)
PROG
(PARI) a6577(n0)={my(n=n0, k=0); while(n>1, k++; n=if(n%2, 3*n+1, n/2)); k};
a346593(limit)={msteps=0; for(k=1, limit, my(m=a6577(k^3)); if(m>msteps, print1(k, ", "); msteps=m))};
a346593(1000000)
CROSSREFS
Sequence in context: A092482 A335099 A147303 * A066880 A075427 A075426
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jul 28 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 September 1 20:27 EDT 2024. Contains 375594 sequences. (Running on oeis4.)