OFFSET
0,6
COMMENTS
REFERENCES
N. Dershowitz and E. M. Reingold, Calendrical Calculations, Cambridge University Press, 1997.
R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics, Addison-Wesley, NY, 1994.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
N. Dershowitz and E. M. Reingold, Calendrical Calculations Web Site.
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,1,-1).
FORMULA
G.f.: (1+x^2+x^4)*x^3/((1-x)*(1-x^7)) - Bruce Corrigan (scentman(AT)myfamily.com), Jul 03 2002
for all m>=0 a(7m)=0 mod 3; a(7m+1)=0 mod 3; a(7m+2)= 0 mod 3; a(7m+3) = 1 mod 3; a(5m+4) = 1 mod 3; a(7m+5) = 2 mod 3; a(7m+6) = 2 mod 3 - Bruce Corrigan (scentman(AT)myfamily.com), Jul 03 2002
Sum_{n>=3} (-1)^(n+1)/a(n) = log(2)/3 (A193535). - Amiram Eldar, Sep 30 2022
MATHEMATICA
Floor[(3*Range[0, 80])/7] (* Harvey P. Dale, Aug 22 2013 *)
PROG
(PARI) a(n)=3*n\7 \\ Charles R Greathouse IV, Sep 02 2015
(Magma) [Floor(3*n/7): n in [0..50]]; // G. C. Greubel, Nov 02 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved