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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145325 Least k such that f(n,k) is not a prime, where f(n,1)=2n+1 and f(n,k)=f(f(n,k-1)) for k>=2. 2
3, 5, 2, 1, 4, 2, 1, 2, 2, 1, 3, 1, 1, 3, 2, 1, 1, 2, 1, 4, 2, 1, 2, 1, 1, 3, 1, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 1, 3, 1, 1, 5, 1, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 3, 1, 1, 4, 2, 1, 1, 1, 1, 3, 2, 1, 2, 2, 1, 1, 1, 1, 1, 2 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

f(1,1)=3, f(1,2)=7, f(1,3)=15, so a(1)=3.

For n=1,2,3,4,5, the first few f's follow:

1: 3,7,15,31,63

2: 5,11,23,47,95

3: 7,15,31,63,127

4: 9,19,39,77,159

5: 11,23,47,95,191

CROSSREFS

Cf. A145326, A145327.

Sequence in context: A183206 A197521 A161865 * A126353 A094791 A115406

Adjacent sequences:  A145322 A145323 A145324 * A145326 A145327 A145328

KEYWORD

easy,nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu), Oct 07 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 17 03:45 EST 2012. Contains 205978 sequences.