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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010764 a(n) = floor(n/2) mod floor(n/3). 1
0, 0, 0, 1, 1, 0, 1, 2, 2, 2, 2, 3, 2, 3, 3, 3, 3, 4, 3, 4, 4, 4, 4, 5, 4, 5, 5, 5, 5, 6, 5, 6, 6, 6, 6, 7, 6, 7, 7, 7, 7, 8, 7, 8, 8, 8, 8, 9, 8, 9, 9, 9, 9, 10, 9, 10, 10, 10, 10, 11, 10, 11, 11, 11, 11, 12, 11, 12, 12, 12, 12, 13, 12, 13, 13, 13, 13, 14, 13, 14, 14, 14, 14, 15, 14, 15, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,8

LINKS

Antti Karttunen, Table of n, a(n) for n = 3..10000

FORMULA

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

a(n) = A008615(n) if n>8. - Michael Somos, Feb 06 2003

a(n) = A004526(n) mod A002264(n). - Antti Karttunen, Aug 23 2017

EXAMPLE

G.f. = x^6 + x^7 + x^9 + 2*x^10 + 2*x^11 + 2*x^12 + 2*x^13 + 3*x^14 + ...

MAPLE

[ seq(floor(n/2) mod floor(n/3), n=3..100) ];

MATHEMATICA

Table[Mod[Floor[n/2], Floor[n/3]], {n, 3, 100}] (* Harvey P. Dale, Apr 06 2018 *)

PROG

(PARI) {a(n) = if( n<3, 0, (n\2) % (n\3))}; /* Michael Somos, Feb 06 2003 */

CROSSREFS

Cf. A002264, A004526, A008615.

Sequence in context: A054725 A064415 A086833 * A029383 A341737 A318837

Adjacent sequences:  A010761 A010762 A010763 * A010765 A010766 A010767

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, Simon Plouffe

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 22:19 EDT 2021. Contains 343071 sequences. (Running on oeis4.)