OFFSET
1,2
COMMENTS
Size of Frattini subgroup of the group of n X n signed permutations matrices (described in sequence A066051).
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..350
Index entries for linear recurrences with constant coefficients, signature (0,5,0,-4).
FORMULA
G.f.: 1/(1-x^2) + 2*x*(1+2*x^2)/(1-2*x^2). - Paul Barry, Jun 17 2006
a(n) = 2^n*(1-(-1)^n)/2+(1+(-1)^n)/2. - Paul Barry, Jun 17 2006
E.g.f.: sinh(x) + sinh(x)^2. - Arkadiusz Wesolowski, Aug 13 2012
a(n) = (2 - (n mod 2))^(n - 1). - Wesley Ivan Hurt, Jul 21 2014
MAPLE
MATHEMATICA
Table[ If[ OddQ[n], 1, 2^(n - 1)], {n, 42} ]
PROG
(PARI) a(n) = { if (n%2, 1, 2^(n-1)) } \\ Harry J. Smith, Feb 22 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), Jan 06 2002
EXTENSIONS
More terms from Robert G. Wilson v, Jan 07 2002
More terms from Ralf Stephan, Jul 25 2003
STATUS
approved