A290396 a(n) = 3*2^n + 3*4^n + 6^(n+1) + 1.
13, 55, 277, 1513, 8593, 49825, 292417, 1729153, 10275073, 61254145, 365945857, 2189371393, 13111037953, 78565515265, 470990340097, 2824331231233, 16939544543233, 101611496669185, 609565899227137, 3656983075356673, 21940249178406913, 131634897988091905, 789782999624318977
Offset: 0
Links
- Colin Barker, Table of n, a(n) for n = 0..1000
- Wikipedia, , Octahedron flake and Sierpinski tetrahedron.
- Index entries for linear recurrences with constant coefficients, signature (13,-56,92,-48).
Programs
-
Mathematica
Table[3*2^n + 3*4^n + 6^(n + 1) + 1, {n, 0, 22}] (* Michael De Vlieger, Jul 29 2017 *)
-
PARI
Vec((13 - 114*x + 290*x^2 - 204*x^3) / ((1 - x)*(1 - 2*x)*(1 - 4*x)*(1 - 6*x)) + O(x^30)) \\ Colin Barker, Jul 29 2017
-
PARI
a(n) = 3*2^n + 3*4^n + 6^(n+1) + 1 \\ Charles R Greathouse IV, Nov 03 2017
Formula
a(n) = 3*2^n + 3*4^n + 6^(n+1) + 1.
From Colin Barker, Jul 29 2017: (Start)
G.f.: (13 - 114*x + 290*x^2 - 204*x^3) / ((1 - x)*(1 - 2*x)*(1 - 4*x)*(1 - 6*x)).
a(n) = 13*a(n-1) - 56*a(n-2) + 92*a(n-3) - 48*a(n-4) for n>3.
(End)
Comments