Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134207
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134207 a(0)=2; for n>0, a(n) = the smallest prime which is > a(n-1) such that a(n-1)+a(n) is a multiple of n. +0
4
2, 3, 5, 7, 13, 17, 19, 23, 41, 67, 73, 103, 113, 173, 191, 199, 233, 277, 281, 479, 521, 571, 617, 809, 823, 827, 863, 919, 929, 1217, 1303, 1487, 1489, 1613, 1753, 2027, 2113, 2179, 2267, 2647, 2713, 3109, 3191, 3259, 3517, 3593, 3767, 3847, 3881, 4057 (list; graph; listen)
OFFSET

0,1

EXAMPLE

The primes that are > a(8)=41 form the sequence 43,47,53,59,61,67,71,... Of these, 67 is the smallest that when added to a(8)=41 gets a multiple of 9 -- 41+67 = 108 = 9*12. (41+p is not divisible by 9 for p = any prime which is > 41 and is < 67.) So a(9) = 67.

MATHEMATICA

a = {2}; For[n = 1, n < 100, n++, i = 1; While[Not[Mod[a[[ -1]] + Prime[PrimePi[a[[ -1]]] + i], n] == 0], i++ ]; AppendTo[a, Prime[PrimePi[a[[ -1]]] + i]]]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Oct 17 2007

CROSSREFS

Cf. A134204, A134208, A134209.

Sequence in context: A042992 A049567 A134204 this_sequence A133244 A077040 A049587

Adjacent sequences: A134204 A134205 A134206 this_sequence A134208 A134209 A134210

KEYWORD

nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Oct 14 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Oct 17 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 21:35 EST 2008. Contains 151309 sequences.


AT&T Labs Research