The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A290328 Iterate the map x -> A289667(x) starting at n; sequence gives number of steps to reach a prime, or -1 if no prime is ever reached. 2
0, 0, 4, 0, 3, 0, 3, 1, 1, 0, 7, 0, 2, 2, 20, 0, 19, 0, 5, 2, 19, 0, 4, 1, 1, 52, 1, 0, 51, 0, 1, 2, 1, 2, 1, 0, 1, 4, 51, 0, 2, 0, 1, 20, 5, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,3
COMMENTS
Base 3 analog of A230626. See A290350 for the trajectory of 48.
If a(48) != -1, then a(48) > 120. - Chai Wah Wu, Jul 29 2017
LINKS
MATHEMATICA
Table[-1 + Length@ NestWhileList[FromDigits[#, 3] &@ Flatten@ Map[IntegerDigits[#, 3] &, FactorInteger[#] /. {p_, e_} /; p > 0 :> If[e == 1, p, {p, e}]] &, n, ! PrimeQ@ # &], {n, 2, 47}] (* Michael De Vlieger, Jul 29 2017 *)
CROSSREFS
Sequence in context: A057075 A281653 A327305 * A200682 A263618 A156788
KEYWORD
nonn,more,base
AUTHOR
Chai Wah Wu, Jul 27 2017
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 June 6 19:21 EDT 2024. Contains 373134 sequences. (Running on oeis4.)