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 A010712 #42 Dec 14 2023 06:04:29 %S A010712 4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7, %T A010712 4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7,4,7, %U A010712 4,7,4,7,4,7,4,7,4,7,4,7,4 %N A010712 Period 2: repeat (4,7). %C A010712 a(n) = A047892(n+1) mod 9. - _Reinhard Zumkeller_, Sep 23 2007 %C A010712 Continued fraction expansion of A176217. - _R. J. Mathar_, Mar 08 2012 %H A010712 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1). %F A010712 a(n) = -(3/2)*(-1)^n + 11/2. - _Paolo P. Lava_, Oct 20 2006 %F A010712 a(n) = 3 + 4^(n mod 2). - _Reinhard Zumkeller_, Sep 23 2007 %F A010712 G.f.: (4+7x)/((1-x)(1+x)). - _R. J. Mathar_, Nov 21 2011 %F A010712 a(n) = 4 + 2^(1-(-1)^n) - 1. - _Vincenzo Librandi_, Feb 27 2020 %t A010712 PadRight[{},120,{4,7}] (* _Harvey P. Dale_, Nov 15 2012 *) %o A010712 (PARI) a(n)=4+n%2*3 \\ _Charles R Greathouse IV_, Dec 21 2011 %o A010712 (Haskell) %o A010712 a010712 = (+ 3) . (4 ^) . flip mod 2 %o A010712 a010712_list = cycle [4, 7] -- _Reinhard Zumkeller_, Mar 19 2014 %o A010712 (Magma) &cat [[4, 7]^^50]; // _Vincenzo Librandi_, Feb 27 2020 %K A010712 nonn,easy %O A010712 0,1 %A A010712 _N. J. A. Sloane_