The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS 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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 17:39 EDT 2024. Contains 373206 sequences. (Running on oeis4.)