Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162565
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162565 Those primes p where (p-q) divides (p-1), where q is the greatest prime < p. +0
2
3, 5, 7, 13, 17, 19, 31, 37, 41, 43, 61, 67, 73, 79, 97, 101, 103, 109, 113, 127, 139, 151, 157, 163, 181, 191, 193, 197, 199, 229, 233, 241, 251, 271, 277, 281, 283, 313, 317, 337, 349, 353, 373, 379, 401, 409, 421, 431, 433, 439, 457, 461, 463, 523, 541, 547 (list; graph; listen)
OFFSET

1,1

EXAMPLE

The 17th prime is 59 and the 18th prime is 61. (61-59) = 2, and 2 divides 61-1 = 60. So, 61 is in the sequence.

MAPLE

A162565 := proc(n) local p, q; p := ithprime(n) ; q := prevprime(p) ; if (p-1) mod (p-q) = 0 then printf("%d, ", p); fi; end: seq(A162565(n), n=2..200) ; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 13 2009]

CROSSREFS

A162566

Sequence in context: A092195 A046066 A045398 this_sequence A155045 A144296 A045399

Adjacent sequences: A162562 A162563 A162564 this_sequence A162566 A162567 A162568

KEYWORD

nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Jul 06 2009

EXTENSIONS

More primes from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 13 2009

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 16 13:01 EST 2009. Contains 170825 sequences.


AT&T Labs Research