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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089750 a(n) = the first prime in the orbit of n under f(n) = n + the first prime > n, or 0 if no such prime exists. 0
3, 2, 3, 43, 5, 13, 7, 19, 43, 379, 11, 113, 13, 31, 18749, 2341, 17, 37, 19, 43, 379, 788941, 23, 53, 113, 241, 511213, 4089763, 29, 61, 31, 18749, 2341, 71, 601, 73, 37, 79, 163, 331, 41, 353, 43, 379, 788941 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Question: Is a(n) > 0 for all n? I do not have a value for a(46).

EXAMPLE

4 -> 4 + (first prime > 4) = 4 + 5 = 9 -> 9 + 11 = 20 -> 20 + 23 = 43 (prime). So a(4) = 43.

CROSSREFS

Sequence in context: A091806 A139170 A139075 * A109591 A143932 A118064

Adjacent sequences:  A089747 A089748 A089749 * A089751 A089752 A089753

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jan 08 2004

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 13 23:23 EST 2012. Contains 205567 sequences.