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!)
A342771 Primes p such that p, x+y, x-y, p-x*y and p+x*y are prime, where y = p mod 5 and x = (p-y)/5. 1
43, 53, 79, 103, 227, 769, 977, 1303, 2179, 2803, 3019, 5179, 5503, 8089, 8101, 10651, 10789, 13339, 13729, 14419, 16069, 17053, 17341, 18077, 23203, 25111, 26153, 26161, 32839, 34127, 34351, 34519, 38791, 39103, 44027, 54319, 56629, 57503, 59053, 60811, 62869, 63079, 64579, 64591, 65203, 69019 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
If y = 4, x+y = p-x*y.
LINKS
EXAMPLE
a(3) = 79 is a term because y = 79 mod 5 = 4, x = (79-4)/5 = 15, and 15-4 = 11. 15+4 = 19, 79-4*15 = 19 and 79+4*15 = 139 are prime.
MAPLE
filter:= proc(n) local a, b;
b:= n mod 5;
a:= (n-b)/5;
isprime(a+b) and isprime(a-b) and isprime(n-a*b) and isprime(n+a*b)
end proc:
select(filter, [seq(ithprime(i), i=1..1000)]);
CROSSREFS
Sequence in context: A156252 A364689 A306627 * A174818 A280388 A180546
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Mar 21 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 July 28 07:11 EDT 2024. Contains 374676 sequences. (Running on oeis4.)