A163300 Even numbers without 2.
0, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Programs
-
Mathematica
Drop[Range[0,132,2],{2}] (* Harvey P. Dale, May 05 2012 *)
-
PARI
a(n)=if(n>1,2*n,0) \\ Charles R Greathouse IV, Apr 17 2024
-
Python
def A163300(n): return n<<1 if n>1 else 0 # Chai Wah Wu, Jul 31 2024
Formula
a(n) = 2*A087156(n).
Extensions
New definition from Charles R Greathouse IV, Jun 23 2024
Comments