login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096230 Period 5: repeat [9, 7, 5, 3, 1]. 1

%I

%S 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 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 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 Period 5: repeat [9, 7, 5, 3, 1].

%C Terms of the simple continued fraction of 2102/(sqrt(2235029)-1265). - _Paolo P. Lava_, Aug 05 2009

%C Decimal expansion of 9 + 1/2 + 1/4 + 1/313 + 1/378244 + 1/2959729702407 = 975310/99999. - _Bruno Berselli_, Oct 02 2018

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1).

%F a(n) = 1 + 2*(-n mod 5). [From Wilson Mathematica program (2004)]

%F a(n) = (1/10)*(-11*(n mod 5) + 9*((n+1) mod 5) + 9*((n+2) mod 5) + 9*((n+3) mod 5) + 9*((n+4) mod 5)). - _Paolo P. Lava_, Nov 27 2006

%F a(n) = 9 - (2*(n-1) mod 10). [From Greathouse PARI program (2014)]

%F From _Robert Israel_, Jul 16 2015: (Start)

%F G.f.: (9 + 7*x + 5*x^2 + 3*x^3 + x^4)/(1 - x^5).

%F a(n) = a(n-5).

%F a(n) + a((a(n)+1)/2) = 10. (End)

%p map(op,[[9,7,5,3,1]$20]); # _Robert Israel_, Jul 16 2015

%t Table[2 Mod[-n, 5] + 1, {n, 105}] (* _Robert G. Wilson v_, Jul 31 2004 *)

%t PadRight[{}, 120, {9, 7, 5, 3, 1}] (* _Harvey P. Dale_, Dec 19 2012 *)

%o (PARI) a(n) = 9 - 2*(n-1)%10; \\ _Charles R Greathouse IV_, Aug 25 2014

%o (MAGMA) &cat [[9, 7, 5, 3, 1]: n in [0..20]]; // _Vincenzo Librandi_, Jul 16 2015

%K nonn,easy

%O 1,1

%A _Odimar Fabeny_, Jul 29 2004

%E Edited by _N. J. A. Sloane_ and _Robert G. Wilson v_, Jul 31 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 10:45 EST 2019. Contains 329751 sequences. (Running on oeis4.)