Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A141831
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A141831 Primes not in sequence A141830. +0
3
7, 19, 23, 31, 43, 47, 53, 67, 73, 79, 83, 89, 103, 113, 127, 131, 139, 151, 157, 163, 167, 173, 181, 199, 211, 223, 233, 241, 251, 257, 263, 271, 283, 293, 307, 317, 331, 337, 353, 359, 367, 373, 379, 383, 389, 401, 409, 421, 433, 439, 443, 449, 463, 467, 479 (list; graph; listen)
OFFSET

1,1

COMMENT

This sequence gives the primes p where not every positive integer k <= q-p divides p-1, where q is the prime immediately after p.

MAPLE

isA141831 := proc(p) local q, d ; if isprime(p) then q := nextprime(p) ; for d from 1 to q-p do if (p+d-1) mod d <> 0 then RETURN(true) ; fi; od: RETURN(false) ; else false; fi; end: for i from 1 to 300 do p := ithprime(i) ; if isA141831(p) then printf("%d, ", p) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 08 2008]

MATHEMATICA

fQ[n_] := Block[{p = n, q = NextPrime@ n}, Union[IntegerQ /@ (Range[p, q - 1]/Range[q - p])][[1]]]; Select[ Prime@ Range@ 92, !fQ@ # &] (* RGWv *)

CROSSREFS

Cf. A141829, A141830.

Sequence in context: A082422 A129812 A032680 this_sequence A065749 A032642 A127633

Adjacent sequences: A141828 A141829 A141830 this_sequence A141832 A141833 A141834

KEYWORD

nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Jul 09 2008

EXTENSIONS

Extended beyond 53 by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 08 2008

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 2 15:58 EST 2008. Contains 150992 sequences.


AT&T Labs Research