OFFSET
1,1
COMMENTS
Mother primes of order 1. - Artur Jasinski, Dec 12 2007
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 3*A088878(n)-2.
EXAMPLE
From K. D. Bajpai, Jun 20 2015: (Start)
a(4) = 31: 3*11 - 2 = 31; A088878(4) = 11.
a(6) = 67: 3*23 - 2 = 67; A088878(6) = 23.
(End)
MAPLE
A091180:= n-> (3*ithprime(n)-2): select(isprime, [seq((A091180(n), n=1..100))]); # K. D. Bajpai, Jun 20 2015
MATHEMATICA
n = 1; a = {}; Do[If[PrimeQ[(Prime[k] + 2n)/(2n + 1)], AppendTo[a, Prime[k]]], {k, 1, 500}]; a (* Artur Jasinski, Dec 12 2007 *)
Select[Table[3*Prime[n] - 2, {n, 1000}], PrimeQ] (* K. D. Bajpai, Jun 20 2015 *)
PROG
(PARI) forprime(p = 1, 1000, k =( 3*p -2); if ( isprime(k), print1(k, ", "))); \\ K. D. Bajpai, Jun 20 2015
(Magma) [ k: p in PrimesUpTo(1000) | IsPrime(k) where k is (3*p-2) ]; // K. D. Bajpai, Jun 20 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ray Chandler, Dec 27 2003
EXTENSIONS
Name clarified by Jinyuan Wang, Aug 06 2021
STATUS
approved