login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A201081 Number of -1..1 arrays of n elements with first and second differences also in -1..1. 1
3, 7, 13, 25, 47, 89, 169, 321, 609, 1155, 2191, 4157, 7887, 14963, 28387, 53855, 102173, 193841, 367751, 697689, 1323641, 2511185, 4764169, 9038483, 17147623, 32532117, 61719263, 117092515, 222145507, 421449879, 799566029, 1516920201
(list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Column 1 of A201088.
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) -a(n-2) +a(n-3) +a(n-4).
Empirical g.f.: x*(3 + 2*x + x^2)*(1 + 3*x^2 - 2*x^3 + x^4) / ((1 - x)^3*(1 + x + x^2)^2). - Colin Barker, Feb 15 2018
EXAMPLE
Some solutions for n=10:
..1....1....1...-1....1....0....0...-1....1....1....1....1....0....0....0...-1
..1....0....0...-1....0....0...-1...-1....0....0....1....0...-1....1....1...-1
..0...-1....0....0....0...-1...-1....0...-1...-1....1...-1...-1....1....1....0
.-1...-1....0....0....1...-1....0....1...-1...-1....0...-1....0....1....1....0
.-1...-1....0....1....1....0....0....1....0...-1....0....0....1....0....1....0
.-1...-1...-1....1....0....0...-1....0....0...-1...-1....0....1...-1....1...-1
..0...-1...-1....1....0....0...-1...-1....0...-1...-1....0....0...-1....1...-1
..0....0...-1....0....0....1...-1...-1....0...-1....0....0....0...-1....1...-1
..0....0....0....0....1....1....0...-1...-1....0....0....0....0...-1....0....0
..1....0....1...-1....1....1....1...-1...-1....1...-1....1...-1...-1....0....0
CROSSREFS
Sequence in context: A269832 A341579 A336726 * A017994 A218199 A275788
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 26 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 19 09:52 EDT 2024. Contains 376008 sequences. (Running on oeis4.)