A156589 a(n) = 4^n - 2^n - 1.
-1, 1, 11, 55, 239, 991, 4031, 16255, 65279, 261631, 1047551, 4192255, 16773119, 67100671, 268419071, 1073709055, 4294901759, 17179738111, 68719214591, 274877382655, 1099510579199, 4398044413951, 17592181850111, 70368735789055
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..500
- Index entries for linear recurrences with constant coefficients, signature (7,-14,8).
Programs
-
Magma
[4^n-2^n-1: n in [0..30]]; // Vincenzo Librandi, Apr 13 2018
-
Mathematica
Table[4^n - 2^n - 1, {n, 0, 25}] (* Vincenzo Librandi, Apr 13 2018 *)
-
PARI
vector(99,n,4^n-2^n-1)
Formula
G.f.: ( 1-8*x+10*x^2 ) / ( (-1+x)*(2*x-1)*(4*x-1) ). - R. J. Mathar, Oct 21 2014
Comments