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 A084183 #18 Nov 26 2022 18:01:30 %S A084183 0,1,1,5,3,21,11,85,43,341,171,1365,683,5461,2731,21845,10923,87381, %T A084183 43691,349525,174763,1398101,699051,5592405,2796203,22369621,11184811, %U A084183 89478485,44739243,357913941,178956971,1431655765,715827883,5726623061 %N A084183 Jacobsthal reverse-pair sequence. %C A084183 Reverses elements a(2n+1) and a(2n+2) in A001045. %H A084183 Vincenzo Librandi, <a href="/A084183/b084183.txt">Table of n, a(n) for n = 0..1000</a> %H A084183 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (-1,4,4). %F A084183 G.f.: x*(1 + 2*x + 2*x^2)/((1+x)(1+2x)(1-2x)). %F A084183 a(n) = (5*2^n - 6*0^n + 4(-1)^n - 3(-2)^n)/12. - _Paul Barry_, May 19 2003 %F A084183 a(n) - 2*a(n-1) is a signed version of A000225. - _Paul Curtz_, Mar 06 2008 %t A084183 LinearRecurrence[{-1,4,4},{0,1,1,5},40] (* _Harvey P. Dale_, Nov 26 2022 *) %o A084183 (Magma) [(5*2^n-6*0^n+4*(-1)^n-3*(-2)^n)/12: n in [0..40]]; // _Vincenzo Librandi_, Aug 13 2011 %o A084183 (PARI) a(n)=if(n,(5*2^n+4*(-1)^n-3*(-2)^n)/12,0) \\ _Charles R Greathouse IV_, Oct 24 2014 %K A084183 easy,nonn %O A084183 0,4 %A A084183 _Paul Barry_, May 19 2003