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.

A010695 Period 2: repeat (2,5).

This page as a plain text file.
%I A010695 #62 Jul 08 2025 01:44:28
%S A010695 2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,
%T A010695 2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,
%U A010695 2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5
%N A010695 Period 2: repeat (2,5).
%C A010695 Also decimal expansion of 25/99.
%C A010695 Continued fraction expansion of A176052. - _R. J. Mathar_, Mar 08 2012
%C A010695 Periodic part of the partial quotients of the continued fraction expansion of sqrt(7/5), which starts [1, 5, 2, 5, 2, 5, ...]. - _Hugo Pfoertner_, Jan 10 2025
%H A010695 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,1).
%F A010695 G.f.: (2+5*x)/((1-x)*(1+x)). - _R. J. Mathar_, Nov 21 2011
%F A010695 a(n) = 2^(1-(-1)^n) + 1. - _Bruno Berselli_, Dec 29 2015
%F A010695 From _Nicolas Bělohoubek_, Nov 11 2021: (Start)
%F A010695 a(n) = 10/a(n-1). See also A010691.
%F A010695 a(n) = 7 - a(n-1). See also A010702. (End)
%t A010695 PadRight[{}, 100, {2, 5}] (* _Paolo Xausa_, Jan 16 2025 *)
%o A010695 (Maxima) makelist(if evenp(n) then 2 else 5, n, 0, 80); /* _Martin Ettl_, Nov 09 2012 */
%o A010695 (Magma) &cat [[2,5]^^50]; // _Bruno Berselli_, Dec 29 2015
%Y A010695 Cf. A010674 (2^(1-(-1)^n) - 1).
%Y A010695 Cf. A010691.
%K A010695 nonn,easy
%O A010695 0,1
%A A010695 _N. J. A. Sloane_
%E A010695 Edited by _Bruno Berselli_, Dec 29 2015