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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137936 a(n) = 5*mod(n,5) + floor(n/5). 0

%I #4 Mar 31 2012 19:52:43

%S 0,5,10,15,20,1,6,11,16,21,2,7,12,17,22,3,8,13,18,23,4,9,14,19,24,5,

%T 10,15,20,25,6,11,16,21,26,7,12,17,22,27,8,13,18,23,28,9,14,19,24,29,

%U 10,15,20,25,30,11,16,21,26,31,12,17,22,27,32,13,18,23,28,33,14,19,24,29,34

%N a(n) = 5*mod(n,5) + floor(n/5).

%F a(n) = 5*mod(n,5) + floor(n/5) = 5*A010874(n) + A002266(n)

%F O.g.f.: -x(-5x^3+19x^4-5x^2-5x-5)/[(-1+x)^2*(x^3+x^4+x^2+x+1)] . - _R. J. Mathar_, Mar 07 2008

%e a(0) = 5*mod(0,5) + floor(0/5) = 0

%e a(3) = 5*mod(3,5) + floor(3/5) = 15

%o (Python) a = lambda n: 5*(n%5) + floor(n/5)

%Y Cf. A010874, A002266.

%K nonn,easy

%O 0,2

%A _William A. Tedeschi_, Mar 06 2008

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)