cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A221175 a(0)=-5, a(1)=6; thereafter a(n) = 2*a(n-1) + a(n-2).

This page as a plain text file.
%I A221175 #28 Dec 23 2023 08:37:08
%S A221175 -5,6,7,20,47,114,275,664,1603,3870,9343,22556,54455,131466,317387,
%T A221175 766240,1849867,4465974,10781815,26029604,62841023,151711650,
%U A221175 366264323,884240296,2134744915,5153730126,12442205167,30038140460,72518486087,175075112634
%N A221175 a(0)=-5, a(1)=6; thereafter a(n) = 2*a(n-1) + a(n-2).
%H A221175 Reinhard Zumkeller, <a href="/A221175/b221175.txt">Table of n, a(n) for n = 0..1000</a>
%H A221175 José L. Ramírez, Gustavo N. Rubiano, and Rodrigo de Castro, <a href="http://arxiv.org/abs/1212.1368">A Generalization of the Fibonacci Word Fractal and the Fibonacci Snowflake</a>, arXiv preprint arXiv:1212.1368 [cs.DM], 2012-2014.
%H A221175 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,1).
%F A221175 a(n) = 16*A000129(n)-5*A000129(n+1). - _R. J. Mathar_, Jan 14 2013
%F A221175 G.f.: -(16*x-5) / (x^2+2*x-1). - _Colin Barker_, Jul 10 2015
%o A221175 (Haskell)
%o A221175 a221175 n = a221175_list !! n
%o A221175 a221175_list = -5 : 6 : zipWith (+)
%o A221175                         (map (* 2) $ tail a221175_list) a221175_list
%o A221175 -- _Reinhard Zumkeller_, Jan 04 2013
%o A221175 (PARI) Vec(-(16*x-5)/(x^2+2*x-1) + O(x^50)) \\ _Colin Barker_, Jul 10 2015
%Y A221175 Cf. A000129, A078343, A221172, A221173, A221174.
%K A221175 sign,easy
%O A221175 0,1
%A A221175 _N. J. A. Sloane_, Jan 04 2013