A171494 a(n) = 2*a(n-1) for n > 1; a(0) = 6, a(1) = 16.
6, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648
Offset: 0
Keywords
Links
- Index entries for linear recurrences with constant coefficients, signature (2).
Programs
-
Mathematica
Join[{6},NestList[2#&,16,30]] (* Harvey P. Dale, Jan 13 2025 *)
-
PARI
{m=29; v=concat([6, 16], vector(m-2)); for(n=3, m, v[n]=2*v[n-1]); v}
Formula
a(n) = 2^(n+3) for n > 0; a(0) = 6.
G.f.: 2*(3+2*x)/(1-2*x).
Comments