login
A131426
a(n) = 2*prime(n) - 3.
8
1, 3, 7, 11, 19, 23, 31, 35, 43, 55, 59, 71, 79, 83, 91, 103, 115, 119, 131, 139, 143, 155, 163, 175, 191, 199, 203, 211, 215, 223, 251, 259, 271, 275, 295, 299, 311, 323, 331, 343, 355, 359, 379, 383, 391, 395, 419, 443, 451, 455, 463, 475, 479, 499, 511, 523, 535, 539, 551, 559, 563, 583, 611
OFFSET
1,2
COMMENTS
Right border of triangle A131424.
FORMULA
a(n) = 2*A000040(n) - 3.
EXAMPLE
a(4) = 11 = 2*p(4) - 3 = 2*7 - 3.
MAPLE
A131426:=n->2*ithprime(n)-3: seq(A131426(n), n=1..70); # Wesley Ivan Hurt, Mar 30 2015
MATHEMATICA
2#-3&/@Prime[Range[80]] (* Harvey P. Dale, Jul 24 2011 *)
PROG
(Magma) [2*NthPrime(n) - 3: n in [1..65]]; // Vincenzo Librandi, Mar 30 2015
(PARI) a(n) = 2*prime(n) - 3 \\ Charles R Greathouse IV, Jul 12 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Jul 10 2007
STATUS
approved