login
A028402
Number of types of Boolean functions of n variables under a certain group.
3
6, 20, 72, 272, 1056, 4160, 16512, 65792, 262656, 1049600, 4196352, 16781312, 67117056, 268451840, 1073774592, 4295032832, 17180000256, 68719738880, 274878431232, 1099512676352, 4398048608256, 17592190238720, 70368752566272, 281474993487872, 1125899940397056
OFFSET
2,1
FORMULA
a(n) = 2^(n-1) * (2^(n-1)+1). - Sean A. Irvine, Jan 07 2020
From Chai Wah Wu, Dec 29 2021: (Start)
a(n) = 6*a(n-1) - 8*a(n-2) for n > 3.
G.f.: x^2*(6 - 16*x)/((2*x - 1)*(4*x - 1)). (End)
MATHEMATICA
Table[2^(n-1) (2^(n-1) + 1), {n, 2, 30}] (* Vincenzo Librandi, Jan 08 2020 *)
PROG
(Magma) [2^(n-1)*(2^(n-1)+1): n in [2..30]]; // Vincenzo Librandi, Jan 08 2020
(PARI) a(n)=2^(n-1)*(2^(n-1)+1) \\ Charles R Greathouse IV, May 26 2026
CROSSREFS
Essentially the same as A063376.
Sequence in context: A235367 A189604 A153372 * A092760 A240043 A058494
KEYWORD
nonn,easy
EXTENSIONS
a(6) corrected and more terms from Sean A. Irvine, Jan 07 2020
STATUS
approved