login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064918 Number of iterations in A064916 to reach a prime. 4
0, 0, 1, 0, 2, 0, 1, 1, 3, 0, 1, 0, 2, 1, 2, 0, 4, 0, 1, 2, 2, 0, 1, 2, 3, 1, 2, 0, 3, 0, 1, 1, 5, 1, 1, 0, 2, 2, 3, 0, 3, 0, 1, 1, 2, 0, 3, 1, 4, 1, 2, 0, 3, 2, 1, 3, 4, 0, 1, 0, 2, 1, 2, 1, 6, 0, 2, 3, 2, 0, 1, 0, 3, 2, 3, 1, 4, 0, 1, 1, 4, 0, 1, 3, 2, 1, 2, 0, 3, 1, 1, 2, 4, 1, 2, 0, 5, 2, 2, 0, 3, 0, 1, 1, 4 (list; graph; refs; listen; history; internal format)
OFFSET

2,5

COMMENTS

a(p) = 0 for all primes p.

LINKS

Harry J. Smith, Table of n, a(n) for n=2,...,1000

EXAMPLE

a(6) = 2 as A064916(A064916(6)) = A064916(4) = 3 = A064917(6).

PROG

(PARI) lpf(n)= { local(f); f=factor(n); return(f[1, 1]) } { for (n=2, 1000, m=n; a=0; while (!isprime(m), L=lpf(m); m=m / L + L - 1; a++); write("b064918.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 29 2009]

CROSSREFS

Cf. A064916, A064917, A064922.

Sequence in context: A180177 A104578 A180243 * A176079 A067586 A078879

Adjacent sequences:  A064915 A064916 A064917 * A064919 A064920 A064921

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 14 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 20:13 EST 2012. Contains 205663 sequences.