Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A136252
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A136252 a(n)=a(n-1)+2a(n-2)-2a(n-3). +0
3
1, 3, 5, 9, 13, 21, 29, 45, 61, 93, 125, 189, 253, 381, 509, 765, 1021, 1533, 2045, 3069, 4093, 6141, 8189, 12285, 16381, 24573, 32765, 49149, 65533, 98301, 131069, 196605, 262141, 393213, 524285, 786429, 1048573, 1572861, 2097149, 3145725, 4194301 (list; graph; listen)
OFFSET

0,2

COMMENT

A060482 without the term 2.

For n>=2, number of nXn arrays with values that are squares of integers, having all 2X2 subblocks summing to 4. [From Ron Hardin (rhhardin(AT)att.net), Apr 03 2009]

FORMULA

a(n)=2^((1/2)*n-1)*(4 + 4(-1)^n + 3sqrt(2)*[1-(-1)^n)]-3. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 31 2008

a(n) = -2*(1 + sqrt(2))^(-1)*a(0)*(1-sqrt(2))^(-1)-1/4*sqrt(2)*sqrt(2)^n*(1-sqrt(2))^(-1) *a(2) + 1/2*sqrt(2)^n*a(0)*(1-sqrt(2))^(-1) + (-4-2*sqrt(2))^(-1)*(-sqrt(2))^n*a(1) + (-4-2*sqrt(2))^(-1)*sqrt(2)*(-sqrt(2))^n*a(1)-(-4-2*sqrt(2))^(-1)*sqrt(2)*( -sqrt(2))^n*a(0)-1/2*sqrt(2)^n*a(1)*(1-sqrt(2))^(-1) + (1 + sqrt(2))^(-1)*(1 -sqrt(2))^(-1)*a(2)-(-4-2*sqrt(2))^(-1)*(-sqrt(2))^n*a(2) + 1/4*sqrt(2)*sqrt(2)^n *a(1)*(1-sqrt(2))^(-1) - Alexander R. Povolotsky (pevnev(AT)juno.com), Mar 31 2008

G.f.: (1+2*x)/((1-x)*(1-2*x^2)) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Aug 30 2009]

MAPLE

a:=proc(n) options operator, arrow: 2^((1/2)*n-1)*(4+4*(-1)^n+3*sqrt(2)*(1-(-1)^n))-3 end proc: seq(a(n), n=0..40); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 31 2008

CROSSREFS

Same recurrence as in A135530.

Sequence in context: A076274 A058989 A049691 this_sequence A141325 A146905 A052282

Adjacent sequences: A136249 A136250 A136251 this_sequence A136253 A136254 A136255

KEYWORD

nonn

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Mar 17 2008

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Apr 18 2008

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 31 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research