login
a(n) = prime(6*n).
1

%I #20 Jan 17 2024 14:52:45

%S 13,37,61,89,113,151,181,223,251,281,317,359,397,433,463,503,557,593,

%T 619,659,701,743,787,827,863,911,953,997,1033,1069,1109,1163,1213,

%U 1249,1291,1321,1399,1439,1481,1511,1559,1601,1627,1693,1733

%N a(n) = prime(6*n).

%H Jens Kruse Andersen, <a href="/A031339/b031339.txt">Table of n, a(n) for n = 1..10000</a>

%p ithprime(6*n)

%t Prime[6*Range[50]] (* _Harvey P. Dale_, Jan 17 2024 *)

%o (Magma) [ NthPrime(6*n): n in [1..50] ]; // _Vincenzo Librandi_, Apr 10 2011

%o (Sage) [nth_prime(6*n) for n in (1..50)] # _Bruno Berselli_, May 07 2014

%o (PARI) a(n)=prime(6*n) \\ _Edward Jiang_, Sep 08 2014

%Y Cf. similar sequences listed in A031336.

%K nonn,easy

%O 1,1

%A _Jeff Burch_