login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116659 Numbers k such that prime(k) == 14 (mod k). 5
1, 3, 9, 23, 81, 85, 87, 16057, 4124457, 27067011, 27067127, 1208198605, 1208198851 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Starting with a(4), positions of 14 in A004648. - Robert G. Wilson v, Feb 22 2006, corrected by Eric M. Schmidt, Feb 05 2013
LINKS
MATHEMATICA
NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; p = 1; Do[ If[ Mod[p = NextPrim[p], n] == 14, Print[n]], {n, 10^9}] (* Robert G. Wilson v *)
PROG
(Sage)
def A116659(max) :
terms = []
p = 2
for n in range(1, max+1) :
if (p - 14) % n == 0 : terms.append(n)
p = next_prime(p)
return terms
# Eric M. Schmidt, Feb 05 2013
CROSSREFS
Cf. A004648; A023143 - A023152, A116657, A116677, A116658, A116659: prime(n) == m (mod n), m=1..14.
Sequence in context: A108488 A018334 A146392 * A147508 A146472 A145955
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 21 2006
EXTENSIONS
a(9)-a(13) from Robert G. Wilson v, Feb 22 2006
First three terms inserted by Eric M. Schmidt, Feb 05 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 07:35 EDT 2024. Contains 371922 sequences. (Running on oeis4.)