A299763 a(n) = 1 + A182986(n).
1, 3, 4, 6, 8, 12, 14, 18, 20, 24, 30, 32, 38, 42, 44, 48, 54, 60, 62, 68, 72, 74, 80, 84, 90, 98, 102, 104, 108, 110, 114, 128, 132, 138, 140, 150, 152, 158, 164, 168, 174, 180, 182, 192, 194, 198, 200, 212, 224, 228, 230, 234, 240, 242, 252, 258, 264, 270, 272, 278, 282, 284
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
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
-
Mathematica
A299763[n_]:= If[n==1, 1, Prime[n-1] +1]; Table[A299763[n], {n,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
Comments