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 A154529 #17 Jan 03 2024 08:46:56 %S A154529 1,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2, %T A154529 4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5, %U A154529 1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8,7,5,1,2,4,8 %N A154529 A090040 mod 9. %C A154529 For n>2, equal to 2^(n-2) mod 9 [From _Michael B. Porter_, Feb 02 2010] %C A154529 Apart from leading terms the same as A146501, A153130 and A029898. [From _R. J. Mathar_, Apr 13 2010] %H A154529 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,-1,1). %F A154529 a(n)=a(n-1)-a(n-3)+a(n-4), n>4. G.f.: (6*x^4+2*x^3+4*x+1-4*x^2)/((1-x)*(1+x)*(x^2-x+1)). [From _R. J. Mathar_, Feb 25 2009] %t A154529 Join[{1},LinearRecurrence[{1,0,-1,1},{5,1,2,4},101]] (* _Ray Chandler_, Jul 15 2015 *) %K A154529 nonn,easy %O A154529 0,2 %A A154529 _Paul Curtz_, Jan 11 2009 %E A154529 Edited by _N. J. A. Sloane_, Jan 12 2009 %E A154529 Extended by _Ray Chandler_, Jul 15 2015