Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132850
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132850 a(0)=1. a(n) = the smallest prime dividing (n+a(n-1)), for n>=1. +0
1
1, 2, 2, 5, 3, 2, 2, 3, 11, 2, 2, 13, 5, 2, 2, 17, 3, 2, 2, 3, 23, 2, 2, 5, 29, 2, 2, 29, 3, 2, 2, 3, 5, 2, 2, 37, 73, 2, 2, 41, 3, 2, 2, 3, 47, 2, 2, 7, 5, 2, 2, 53, 3, 2, 2, 3, 59, 2, 2, 61, 11, 2, 2, 5, 3, 2, 2, 3, 71, 2, 2, 73, 5, 2, 2, 7, 83, 2, 2, 3, 83, 2, 2, 5, 89, 2, 2, 89, 3, 2, 2, 3, 5, 2, 2 (list; graph; listen)
OFFSET

0,2

COMMENT

a(4n+1) = a(4n+2) = 2, for all n >= 0. a(4n) and a(4n+3) are odd primes, for all n >= 0.

EXAMPLE

a(8) + 9 = 11 + 9 = 20. The smallest prime divisor of 20 is 2. So a(9) = 2.

MATHEMATICA

a = {1}; Do[AppendTo[a, FactorInteger[n + a[[ -1]]][[1, 1]]], {n, 1, 100}]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Nov 25 2007

CROSSREFS

Cf. A076561.

Sequence in context: A097891 A097611 A135376 this_sequence A076561 A132851 A146316

Adjacent sequences: A132847 A132848 A132849 this_sequence A132851 A132852 A132853

KEYWORD

nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Nov 21 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Nov 25 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 4 15:51 EST 2008. Contains 151308 sequences.


AT&T Labs Research