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.
%I A084222 #42 Sep 08 2022 08:45:11 %S A084222 1,2,-1,8,-19,62,-181,548,-1639,4922,-14761,44288,-132859,398582, %T A084222 -1195741,3587228,-10761679,32285042,-96855121,290565368,-871696099, %U A084222 2615088302,-7845264901,23535794708,-70607384119,211822152362,-635466457081,1906399371248 %N A084222 a(n) = -2*a(n-1) + 3*a(n-2), with a(0)=1, a(1)=2. %H A084222 Vincenzo Librandi, <a href="/A084222/b084222.txt">Table of n, a(n) for n = 0..200</a> %H A084222 Alexandru Ciolan and Pieter Moree, <a href="https://arxiv.org/abs/1707.02183">Browkin's discriminator conjecture</a>, arXiv:1707.02183 [math.NT], 2017. %H A084222 Pieter Moree and Ana Zumalacárregui, <a href="http://arxiv.org/abs/1504.05718">Salajan's conjecture on discriminating terms in an exponential sequence</a>, arXiv:1504.05718 [math.NT], 2015; Journal of Number Theory 160 (2016), pp. 646-665. %H A084222 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (-2,3). %F A084222 Binomial transform is A084221. %F A084222 a(n) = (5-(-3)^n)/4. %F A084222 G.f.: (1+4*x)/((1-x)*(1+3*x)). %F A084222 E.g.f.: (5*exp(x)-exp(-3*x))/4. %F A084222 For n > 1, abs(a(n) - a(n+1)) = 3^n. - _Amarnath Murthy_ and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jul 15 2003; corrected by _Philippe Deléham_, Dec 16 2007 %F A084222 a(n) = 9*a(n-2) - 10 with a(0) = 1 and a(1) = 2. - _Philippe Deléham_, Feb 24 2014 %F A084222 a(2n) = -A211866(n), n>0. - _Philippe Deléham_, Feb 24 2014 %t A084222 CoefficientList[Series[(1 + 4 x)/((1 - x) (1 + 3 x)), {x, 0, 40}], x] (* _Vincenzo Librandi_, Feb 26 2014 *) %t A084222 LinearRecurrence[{-2, 3}, {1, 2}, 28] (* _Jean-François Alcover_, Sep 27 2017 *) %o A084222 (PARI) a(n) = (5-(-3)^n)/4; \\ _Joerg Arndt_, Jul 14 2013 %o A084222 (Magma) [(5-(-3)^n)/4: n in [0..40]]; // _Vincenzo Librandi_, Feb 26 2014 %Y A084222 Cf. A211866. %K A084222 easy,sign %O A084222 0,2 %A A084222 _Paul Barry_, May 21 2003