login
a(n) = prime(5*n-4).
1

%I #20 Sep 08 2022 08:44:50

%S 2,13,31,53,73,101,127,151,179,199,233,263,283,317,353,383,419,443,

%T 467,503,547,577,607,641,661,701,739,769,811,839,877,911,947,983,1019,

%U 1049,1087,1109,1153,1193,1229,1277,1297,1321,1381,1429,1453

%N a(n) = prime(5*n-4).

%H Ivan Panchenko, <a href="/A031392/b031392.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = A000040(5n-4). - _Wesley Ivan Hurt_, Mar 10 2014

%p A031392:=n->ithprime(5*n-4); seq(A031392(n), n=1..50); # _Wesley Ivan Hurt_, Mar 10 2014

%t Prime[5*Range[50]-4] (* _Harvey P. Dale_, Feb 21 2014 *)

%o (Magma) [ NthPrime(5*n-4): n in [1..1000] ]; // _Vincenzo Librandi_, Apr 11 2011

%K nonn

%O 1,1

%A _Jeff Burch_