login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A193642 Number of arrays of -2..2 integers x(1..n) with every x(i) in a subsequence of length 1 or 2 with sum zero 1
1, 5, 13, 37, 105, 297, 841, 2381, 6741, 19085, 54033, 152977, 433105, 1226197, 3471581, 9828661, 27826681, 78782265, 223046553, 631484317, 1787844005, 5061703197, 14330578721, 40572407841, 114867676321, 325210747045 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Column 2 of A193648

LINKS

R. H. Hardin, Table of n, a(n) for n = 1..200

FORMULA

Empirical: a(n) = 2*a(n-1) +2*a(n-2) +a(n-3).

Empirical: G.f.: -x*(1+3*x+x^2) / ( -1+2*x+2*x^2+x^3 ). - R. J. Mathar, Feb 19 2015

EXAMPLE

Some solutions for n=6

..1....0...-1....0...-1...-2...-2....1....1...-2...-1....2...-1....1....2....0

.-1....0....1...-1....1....2....2...-1...-1....2....1...-2....1...-1...-2....1

..2...-1...-1....1...-2...-2...-1....2....1...-2....2....1....0...-1....2...-1

.-2....1...-2....0....2....0....1...-2...-1....0...-2...-1....1....1...-2....2

.-1...-1....2....1....1....0...-1....0...-2....2....0...-2...-1...-1....2...-2

..1....1....0...-1...-1....0....1....0....2...-2....0....2....0....0...-2....2

CROSSREFS

Sequence in context: A232879 A269803 A298417 * A220709 A182312 A071100

Adjacent sequences:  A193639 A193640 A193641 * A193643 A193644 A193645

KEYWORD

nonn

AUTHOR

R. H. Hardin Aug 02 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 21:52 EDT 2020. Contains 334671 sequences. (Running on oeis4.)