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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102345 3^n+(-1)^n. 2
2, 2, 10, 26, 82, 242, 730, 2186, 6562, 19682, 59050, 177146, 531442, 1594322, 4782970, 14348906, 43046722, 129140162, 387420490, 1162261466, 3486784402, 10460353202, 31381059610, 94143178826, 282429536482, 847288609442 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

a(n)=A105723(n)+2*(-1)^n; (a(n)+A105723(n))/2=A000244(n). - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Apr 18 2005

FORMULA

a(n)=3a(n-2)+2a(n-1).

MAPLE

g:=1/(1+3*z): gser:=series(g, z=0, 43): seq(abs(coeff(gser, z, n)+1), n=0..31); # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jan 09 2009]

PROG

(Other) sage: [lucas_number2(n, 2, -3) for n in xrange(0, 26)]# [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Apr 30 2009]

CROSSREFS

Apart from leading term, same as A084182.

Sequence in context: A151456 A151389 A151428 * A151364 A200949 A001885

Adjacent sequences:  A102342 A102343 A102344 * A102346 A102347 A102348

KEYWORD

easy,nonn

AUTHOR

Graeme McRae (g_m(AT)mcraefamily.com), Feb 16 2005

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 14 20:38 EST 2012. Contains 205663 sequences.