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.

A096230 Period 5: repeat [9, 7, 5, 3, 1].

This page as a plain text file.
%I A096230 #50 Feb 24 2024 01:09:48
%S A096230 9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,
%T A096230 1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,
%U A096230 3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1,9,7,5,3,1
%N A096230 Period 5: repeat [9, 7, 5, 3, 1].
%C A096230 Decimal expansion of 9 + 1/2 + 1/4 + 1/313 + 1/378244 + 1/2959729702407 = 975310/99999. - _Bruno Berselli_, Oct 02 2018
%H A096230 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1).
%F A096230 a(n) = 1 + 2*(-n mod 5). [From Wilson Mathematica program (2004)]
%F A096230 a(n) = 9 - (2*(n-1) mod 10). [From Greathouse PARI program (2014)]
%F A096230 From _Robert Israel_, Jul 16 2015: (Start)
%F A096230 G.f.: (9 + 7*x + 5*x^2 + 3*x^3 + x^4)/(1 - x^5).
%F A096230 a(n) = a(n-5).
%F A096230 a(n) + a((a(n)+1)/2) = 10. (End)
%p A096230 map(op,[[9,7,5,3,1]$20]); # _Robert Israel_, Jul 16 2015
%t A096230 Table[2 Mod[-n, 5] + 1, {n, 105}] (* _Robert G. Wilson v_, Jul 31 2004 *)
%t A096230 PadRight[{}, 120, {9, 7, 5, 3, 1}] (* _Harvey P. Dale_, Dec 19 2012 *)
%o A096230 (PARI) a(n) = 9 - 2*(n-1)%10; \\ _Charles R Greathouse IV_, Aug 25 2014
%o A096230 (Magma) &cat [[9, 7, 5, 3, 1]: n in [0..20]]; // _Vincenzo Librandi_, Jul 16 2015
%K A096230 nonn,easy
%O A096230 1,1
%A A096230 _Odimar Fabeny_, Jul 29 2004
%E A096230 Edited by _N. J. A. Sloane_ and _Robert G. Wilson v_, Jul 31 2004