The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A081596 Let n = 10x + y where 0 <= y <= 9, x >= 0. Then a(n) = 5x+y. 2
 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 35, 36, 37, 38, 39, 40, 41 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..2000 FORMULA G.f.: -x*(4*x^9 -x^8 -x^7 -x^6 -x^5 -x^4 -x^3 -x^2 -x -1) / ((x -1)^2*(x +1)*(x^4 -x^3 +x^2 -x +1)*(x^4 +x^3 +x^2 +x +1)). - Colin Barker, Jun 24 2014 a(n) = n - 5*floor(n/10). [Bruno Berselli, Jun 24 2014] MATHEMATICA CoefficientList[Series[-x (4 x^9 - x^8 - x^7 - x^6 - x^5 - x^4 - x^3 - x^2 - x - 1)/((x - 1)^2 (x + 1) (x^4 - x^3 + x^2 - x + 1) (x^4 + x^3 + x^2 + x + 1)), {x, 0, 150}], x] (* Vincenzo Librandi, Jun 25 2014 *) PROG (PARI) my(n, x, y); vector(200, n, y=(n-1)%10; x=(n-1-y)\10; 5*x+y) \\ Colin Barker, Jun 24 2014 (MAGMA) k:=5; [n-(10-k)*Floor(n/10): n in [0..100]]; // Bruno Berselli, Jun 24 2014 CROSSREFS Cf. A081502. Different from A028900. Sequence in context: A122644 A209928 A028900 * A061500 A051796 A257296 Adjacent sequences:  A081593 A081594 A081595 * A081597 A081598 A081599 KEYWORD nonn AUTHOR N. J. A. Sloane, Apr 22 2003 STATUS approved

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.

Last modified October 22 02:52 EDT 2020. Contains 337950 sequences. (Running on oeis4.)