OFFSET
1,2
COMMENTS
Are these the indices of the rows of A299762 where there is a record?
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
A299763[n_]:= If[n==1, 1, Prime[n-1] +1];
Table[A299763[n], {n, 70}] (* G. C. Greubel, Aug 05 2024 *)
PROG
(Magma)
A299763:= func< n | n eq 1 select 1 else NthPrime(n-1) + 1 >;
[A299763(n): n in [1..70]]; // G. C. Greubel, Aug 05 2024
(SageMath)
def A299763(n): return 1 if n==1 else nth_prime(n-1) + 1
[A299763(n) for n in range(1, 71)] # G. C. Greubel, Aug 05 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Mar 14 2018
STATUS
approved