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!)
A048697 Generalized Pellian with second term equal to 10. 3
1, 10, 21, 52, 125, 302, 729, 1760, 4249, 10258, 24765, 59788, 144341, 348470, 841281, 2031032, 4903345, 11837722, 28578789, 68995300, 166569389, 402134078, 970837545, 2343809168, 5658455881 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Tanya Khovanova, Recursive Sequences
FORMULA
a(n) = 2*a(n-1) + a(n-2); a(0)=1, a(1)=10.
a(n) = ((9+sqrt(2))(1+sqrt(2))^n - (9-sqrt(2))(1-sqrt(2))^n) / 2*sqrt(2).
G.f.: (1+8*x)/(1 - 2*x - x^2). - Philippe Deléham, Nov 03 2008
MAPLE
with(combinat): a:=n->8*fibonacci(n-1, 2)+fibonacci(n, 2): seq(a(n), n=1..25); # Zerinvary Lajos, Apr 04 2008
MATHEMATICA
a[n_]:=(MatrixPower[{{1, 2}, {1, 1}}, n].{{9}, {1}})[[2, 1]]; Table[a[n], {n, 0, 40}] (* Vladimir Joseph Stephan Orlovsky, Feb 20 2010 *)
LinearRecurrence[{2, 1}, {1, 10}, 35] (* Harvey P. Dale, Jul 26 2011 *)
PROG
(Haskell)
a048697 n = a048697_list !! n
a048697_list = 1 : 10 : zipWith (+)
a048697_list (map (* 2) $ tail a048697_list)
-- Reinhard Zumkeller, Sep 05 2014
CROSSREFS
Sequence in context: A219884 A042309 A215757 * A090076 A231966 A156592
KEYWORD
easy,nonn
AUTHOR
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 5 16:08 EDT 2024. Contains 373107 sequences. (Running on oeis4.)