The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A068038 Number of subsets of {1,2,3,...,n} that sum to 0 mod 17. 2
1, 1, 1, 1, 1, 1, 3, 8, 15, 30, 60, 120, 241, 482, 964, 1928, 3856, 7712, 15422, 30842, 61682, 123362, 246722, 493446, 986896, 1973790, 3947580, 7895160, 15790320, 31580642, 63161284, 126322568, 252645136, 505290272, 1010580544, 2021161084 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
FORMULA
Empirical G.f.: -(2*x^17-x^12+x^8-2*x^7-x^6+x^5+x^4+x^3+x^2+x-1) / ((2*x-1)*(2*x^17-1)). [Colin Barker, Dec 22 2012]
PROG
(PARI) {A068038(n)=local(v, v1); v=vector(17); v[1]=1; for(i=1, n, v1=vector(17); for(j=0, 16, v1[j+1]=v[j+1]+v[(j-i)%17+1]); v=v1); v[1]} (Max Alekseyev, Jul 23 2005))
CROSSREFS
17th row of A068009.
Sequence in context: A116686 A317252 A135350 * A196087 A295735 A309052
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 11 2002
EXTENSIONS
Rechecked by Max Alekseyev, Jul 23 2005
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 08:37 EDT 2024. Contains 372850 sequences. (Running on oeis4.)