Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A088081
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A088081 Smallest prime(k) such that for every r = 1 to n, there exist i,j, k >= j > i, such that prime(j)-prime(i) == 0 ( mod r). +0
3
3, 5, 5, 7, 7, 11, 17, 17, 17, 17, 17, 17, 29, 29, 29, 29, 29, 29, 41, 41, 41, 41, 53, 53, 53, 53, 53, 53, 53, 53, 67, 67, 71, 71, 71, 71, 79, 79, 79, 79, 79, 79, 89, 89, 89, 89, 97, 97, 101, 101, 101, 101, 109, 109, 113, 113, 113, 113, 113, 113, 127, 127, 131, 131, 131 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(11) = a(12) = 17, but a(13) = 29 as 29-3 == 0 (mod 13). And we have

5-3 = 2, 11-5 = 2*3, 7-3 = 4, 7-2 = 5, 11-5 = 6, 17-3 = 2*7, 11-3 = 8, 23-5 = 2*9, 13-3 = 10, 13 - 2 = 11, 17-5 = 12, 29-3 = 2*13.

PROGRAM

(PARI) found = vector(500); x = 1; forprime(p = 3, 500, oldX = x; forprime (q = 2, p - 1, v = divisors(p - q); for (i = 1, length(v), found[v[i]] = 1; if (v[i] == x, while (found[x], x++; write1("A088081.txt", p" "))))); if (oldX != x, write1("A088083.txt", p" "); write1("A088082.txt", x - 1" "))); (Wasserman)

CROSSREFS

Cf. A088082.

Cf. A088083.

Sequence in context: A066169 A087821 A109258 this_sequence A138475 A023840 A131421

Adjacent sequences: A088078 A088079 A088080 this_sequence A088082 A088083 A088084

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 22 2003

EXTENSIONS

More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Jul 11 2005

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 November 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research