Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A141830
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A141830 Primes p such that 1|p, 2|(p+1), 3|(p+2), 4|(p+3),...,(q-p)|(q-1), where q is the prime immediately after p. +0
3
2, 3, 5, 11, 13, 17, 29, 37, 41, 59, 61, 71, 97, 101, 107, 109, 137, 149, 179, 191, 193, 197, 227, 229, 239, 269, 277, 281, 311, 313, 347, 349, 397, 419, 431, 457, 461, 521, 541, 569, 599, 601, 613, 617, 641, 659, 673, 757, 769, 809, 821, 827, 853, 857, 877 (list; graph; listen)
OFFSET

1,1

COMMENT

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

Number of terms less than 10^k: 3, 13, 57, 338, 2020, 13569, 98365, 736332, 5729411, ..., . Compare these to A006880. - Robert G. Wilson v, Aug 01 2008

LINKS

Robert G. Wilson v, Table of n, for n = 1..13569.

MAPLE

isA141830 := 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(false) ; fi; od: RETURN(true) ; else false; fi; end: for i from 1 to 300 do p := ithprime(i) ; if isA141830(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@ 151, fQ@# &] (* RGWv *)

CROSSREFS

Cf. A141829, A141831.

Sequence in context: A127046 A127051 A127045 this_sequence A127048 A139053 A038615

Adjacent sequences: A141827 A141828 A141829 this_sequence A141831 A141832 A141833

KEYWORD

nonn

AUTHOR

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

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com) and 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