login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
Hints
(Greetings from
The On-Line Encyclopedia of Integer Sequences
!)
A340876
Numbers k such that prime(k)^prime(k+1) == prime(k+2) (mod prime(k+3)).
1
942, 4658911, 12806325, 2515276754
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
COMMENTS
Inspired by
A340868
and the comment there.
LINKS
Table of n, a(n) for n=1..4.
EXAMPLE
The 942th to the 945th primes are 7433, 7451, 7457 and 7459. Since 7433^7451 == 7457 mod 7459, 942 is in the sequence.
PROG
(Python)
from sympy import nextprime
k, p, q, r, s,
A340876
_list = 1, 2, 3, 5, 7, []
while k < 10**7:
if pow(p, q, s) == r:
A340876
_list.append(k)
k, p, q, r, s = k+1, q, r, s, nextprime(s)
CROSSREFS
Cf.
A340868
.
Sequence in context:
A158718
A104302
A228382
*
A252295
A252294
A268268
Adjacent sequences:
A340873
A340874
A340875
*
A340877
A340878
A340879
KEYWORD
nonn
,
more
AUTHOR
Chai Wah Wu
, Jan 24 2021
EXTENSIONS
a(4) from
Daniel Suteu
, Jan 26 2021
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 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)