login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135446 a(n)=3a(n-1)-3a(n-2)+2a(n-3). 0
-1, -1, 3, 10, 19, 33, 62, 125, 255, 514, 1027, 2049, 4094, 8189, 16383, 32770, 65539, 131073, 262142, 524285, 1048575, 2097154, 4194307, 8388609, 16777214, 33554429, 67108863, 134217730, 268435459, 536870913, 1073741822 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

Sequence identical to its third differences.

FORMULA

a(n+1)-2a(n) = hexaperiodic 1, 5, 4, -1, -5, -4, A130815.

a(n) = 2^n-2*cos((Pi*n)/3)-(4*3^0.5/3)*sin((Pi*n)/3). Or, a(n)=2^n + [ -2; -3; -1; 2; 3; 1]. - Richard Choulet (richardchoulet(AT)yahoo.fr), Dec 31 2007

MATHEMATICA

a = {-1, -1, 3}; Do[AppendTo[a, 3*a[[ -1]] - 3*a[[ -2]] + 2*a[[ -3]]], {40}]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 22 2007

CROSSREFS

Sequence in context: A064027 A028878 A010896 * A160002 A027177 A048343

Adjacent sequences:  A135443 A135444 A135445 * A135447 A135448 A135449

KEYWORD

sign

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Dec 13 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Dec 22 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 13:02 EST 2012. Contains 205909 sequences.