A081350 First column in maze array of natural numbers A081349.
1, 2, 3, 4, 15, 16, 35, 36, 63, 64, 99, 100, 143, 144, 195, 196, 255, 256, 323, 324, 399, 400, 483, 484, 575, 576, 675, 676, 783, 784, 899, 900, 1023, 1024, 1155, 1156, 1295, 1296, 1443, 1444, 1599, 1600, 1763, 1764, 1935, 1936, 2115, 2116, 2303, 2304, 2499
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..10000
- Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
Formula
a(0)=1, a(1)=2, a(n)=(n-1)*(n+(-1)^n), n>1.
G.f.: -(2*x^6-10*x^4+x^3+x^2-x-1)/((1-x)^3*(1+x)^2). [Colin Barker, Sep 03 2012]
Comments