The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A141518 Period 5: repeat [1, 3, 5, 7, 9]. 2
 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, 1, 3, 5, 7, 9 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Final digits of odd numbers in decimal representation: a(n) = A010879(A005408(n)). - Reinhard Zumkeller, Apr 11 2010 LINKS Table of n, a(n) for n=0..104. Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1). FORMULA a(n) = 2*(n mod 5) + 1, see PARI code. - Bruno Berselli, Jul 25 2018 G.f.: -((9*x^4 + 7*x^3 + 5*x^2 + 3*x + 1)/(x^5 - 1)). - Kritsada Moomuang, Sep 06 2018 a(n) = a(n - 5) for n > 4. - Stefano Spezia, Sep 07 2018 MATHEMATICA PadRight[{}, 120, {1, 3, 5, 7, 9}] (* Harvey P. Dale, May 06 2014 *) LinearRecurrence[{0, 0, 0, 0, 1}, {1, 3, 5, 7, 9}, 50] (* or *) CoefficientList[Series[-((9*x^4 + 7*x^3 + 5*x^2 + 3*x + 1)/(x^5 - 1)), {x, 0, 50}], x] (* Stefano Spezia, Sep 07 2018 *) PROG (PARI) a(n)=1+2*(n%5) \\ Jaume Oliver Lafont, Aug 28 2009 (Magma) &cat [[1, 3, 5, 7, 9]^^25]; // Vincenzo Librandi, Jul 25 2018 CROSSREFS Sequence in context: A127050 A316988 A031312 * A225985 A032764 A131669 Adjacent sequences: A141515 A141516 A141517 * A141519 A141520 A141521 KEYWORD nonn,easy AUTHOR Paul Curtz, Aug 11 2008 STATUS approved

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

Last modified April 17 17:01 EDT 2024. Contains 371765 sequences. (Running on oeis4.)