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!)
A328022 Prime numbers p such that all 4 variables of the equation (p = i * q + r) are prime, with i being the index of p, q the quotient of p/i, and r the remainder of p/i. 0
17, 41, 367, 514275529 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The other two variables in the equation result from the division of a prime p by its index i, giving quotient q and remainder r. All four of p, i, q, r are required to be prime.
For all remaining terms, q (which has become greater than 2) will be an odd prime, and q increases exponentially slowly. And when q is odd, exactly one of i and r will be odd. Consequently, a new term will only occur when r = 2 and both q and i are prime.
a(5) > 10^22, if it exists. - Giovanni Resta, Oct 02 2019
LINKS
EXAMPLE
Known values:
n | a(n) = p = i * q + r
===+==============================
1 | 17 = 7 * 2 + 3
2 | 41 = 13 * 3 + 2
3 | 367 = 73 * 5 + 2
4 | 514275529 = 27067133 * 19 + 2
MATHEMATICA
Select[Prime@ Range[10^5], AllTrue[Join[{#1, #2}, QuotientRemainder[#1, #2]], PrimeQ] & @@ {#, PrimePi@ #} &] (* Michael De Vlieger, Oct 01 2019 *)
PROG
(PARI) lista(nn)={my(i=1); forprime(p=3, nn, i++; if(isprime(i), my(q=p\i); if(isprime(q)&&isprime(p-q*i), print1(p, ", ")) ))} \\ Andrew Howroyd, Oct 01 2019
CROSSREFS
Sequence in context: A164602 A078847 A201028 * A287308 A355700 A090295
KEYWORD
nonn,hard,more
AUTHOR
Eduardo P. Feitosa, Oct 01 2019
EXTENSIONS
a(4) from Andrew Howroyd, Oct 01 2019
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 25 13:01 EDT 2024. Contains 371969 sequences. (Running on oeis4.)