A001747 2 together with primes multiplied by 2.
2, 4, 6, 10, 14, 22, 26, 34, 38, 46, 58, 62, 74, 82, 86, 94, 106, 118, 122, 134, 142, 146, 158, 166, 178, 194, 202, 206, 214, 218, 226, 254, 262, 274, 278, 298, 302, 314, 326, 334, 346, 358, 362, 382, 386, 394, 398, 422, 446, 454, 458, 466, 478, 482, 502
Offset: 1
Links
- T. D. Noe, Table of n, a(n) for n = 1..1000
Programs
-
GAP
Concatenation([2], List([1..60], n-> 2*Primes[n])); # G. C. Greubel, May 18 2019
-
Magma
[2] cat [2*NthPrime(n): n in [1..60]]; // G. C. Greubel, May 18 2019
-
Mathematica
Join[{2},2*Prime[Range[60]]] (* Harvey P. Dale, Jul 23 2013 *)
-
PARI
print1(2);forprime(p=2,97,print1(", "2*p)) \\ Charles R Greathouse IV, Jan 31 2012
-
Sage
[2]+[2*nth_prime(n) for n in (1..60)] # G. C. Greubel, May 18 2019
Formula
a(n) = A116366(n-2,n-2) for n>2. - Reinhard Zumkeller, Feb 06 2006
Comments