|
|
|
|
2, 18, 110, 570, 2702, 12138, 52670, 223290, 931502, 3842058, 15718430, 63928410, 258885902, 1045076778, 4208939390, 16921719930, 67944897902, 272553908298, 1092539107550, 4377127901850, 17529428119502, 70180466208618, 280910134414910, 1124205363178170, 4498515962822702
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For n>=1, a(n) is equal to the number of functions f: {1,2,...,n+1}->{1,2,3,4} such that Im(f) contains 2 fixed elements. - Aleksandar M. Janjic and Milan Janjic, Feb 27 2007
Let P(A) be the power set of an n-element set A and R be a relation on P(A) such that for all x, y of P(A), xRy if x is not a subset of y and y is not a subset of x. Then a(n+1) = |R|. - Ross La Haye, Mar 19 2009
Number of ordered (n+1)-tuples of positive integers, whose minimum is 0 and maximum 3. - Ovidiu Bagdasar, Sep 19 2014
a(n-2) is the number of possible player-reduced binary games observed by each player in an n X 2 game assuming k < n - 1 players reverse their initially fixed individual strategies and the remaining n - k - 1 players will play as one, either maintaining their status quo strategies or jointly adopting an alternative strategy. - Ambrosio Valencia-Romero, Apr 11 2024
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4^(n+1) - 2*3^(n+1) + 2^(n+1).
a(1)=2, a(2)=18, a(3)=110, a(n)=9*a(n-1)-26*a(n-2)+24*a(n-3). - Harvey P. Dale, Aug 16 2012
G.f.: -2*x/((2*x-1)*(3*x-1)*(4*x-1)). - Colin Barker, Nov 27 2012
E.g.f.: 2*exp(2*x)*(1 - 3*exp(x) + 2*exp(2*x)). - Stefano Spezia, Jun 04 2024
|
|
MATHEMATICA
|
Table[4^n-2*3^n+2^n, {n, 2, 30}] (* or *) LinearRecurrence[{9, -26, 24}, {2, 18, 110}, 30] (* Harvey P. Dale, Aug 16 2012 *)
|
|
PROG
|
(Haskell)
import Data.List (transpose)
a038721 n = a038721_list !! (n-1)
a038721_list = (transpose a038719_tabl) !! 2
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org), May 09 2000
|
|
STATUS
|
approved
|
|
|
|