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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102566 a(n)={minimal k such that f^k (prime(n))=1} where f(m)=(m+1)/2^r, 2^r is the highest power of two dividing m+1. 0
2, 1, 2, 1, 2, 2, 4, 3, 2, 2, 1, 4, 4, 3, 2, 3, 2, 2, 5, 4, 5, 3, 4, 4, 5, 4, 3, 3, 3, 4, 1, 6, 6, 5, 5, 4, 4, 5, 4, 4, 4, 4, 2, 6, 5, 4, 4, 2, 4, 4, 4, 2, 4, 2, 8, 6, 6, 5, 6, 6, 5, 6, 5, 4, 5, 4, 5, 6, 4, 4, 6, 4, 3, 4, 3, 2, 6, 5, 6, 5, 5, 5, 3, 5, 3, 3, 6, 5, 4, 3, 4, 2, 3, 3, 3, 2, 2, 8, 7, 6, 7, 6, 6, 6, 5 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

A066195(n+1) is the prime corresponding to the first n in this sequence. - David Wasserman (dwasserm(AT)earthlink.net), Apr 08 2008

FORMULA

a(n) = A023416(prime(n))+1. - David Wasserman (dwasserm(AT)earthlink.net), Apr 08 2008

EXAMPLE

f(f(f(f(17))))=1, prime(7)=17, so a(7)=4

CROSSREFS

Cf. A066195.

Sequence in context: A206941 A143179 A089610 * A134156 A067815 A133780

Adjacent sequences:  A102563 A102564 A102565 * A102567 A102568 A102569

KEYWORD

nonn

AUTHOR

Yasutoshi Kohmoto (zbi74583(AT)boat.zero.ad.jp), Feb 25 2005

EXTENSIONS

More terms from David Wasserman (dwasserm(AT)earthlink.net), Apr 08 2008

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 16 13:37 EST 2012. Contains 205909 sequences.