Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096223
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096223 Let p(k) be the number of partitions of k (A000041); a(n) = sum{1<=k<=n, GCD(k,n)=1} p(k). +0
1
1, 1, 3, 4, 11, 8, 29, 26, 52, 49, 138, 79, 271, 198, 337, 389, 914, 477, 1596, 993, 1881, 1912, 4507, 2222, 6485, 5080, 8682, 7384, 18459, 6780, 28628, 19598, 31098, 29444, 53198, 30470, 99132, 65771, 104464, 80422, 215307, 81792, 313064, 195091, 272503 (list; graph; listen)
OFFSET

1,3

COMMENT

If we let mu() be the Moebius function (A008683), then a(n) = sum mu(j), where j is taken over all parts, with repetitions, of every partition of n and where each j is such that j|n. Example: The 7 partitions of 5 are: 1+1+1+1+1, 1+1+1+2, 1+1+3, 1+2+2, 2+3, 1+4, 5. Of these parts, only 1 and 5 divide 5. Since there are twelve 1's and one 5, we have a(5) = 12*mu(1) + 1*mu(5) = 11.

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

MATHEMATICA

f[n_] := Block[{s = 0, k = 1}, While[k < n + 1, If[ GCD[k, n] == 1, s = s + PartitionsP[k]]; k++ ]; s]; Table[ f[n], {n, 45}] (from Robert G. Wilson v Jul 29 2004)

CROSSREFS

Cf. A008683.

Sequence in context: A085386 A133760 A056045 this_sequence A047457 A098377 A075646

Adjacent sequences: A096220 A096221 A096222 this_sequence A096224 A096225 A096226

KEYWORD

nonn,easy

AUTHOR

Leroy Quet Jul 29 2004

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 29 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 6 22:55 EST 2009. Contains 170429 sequences.


AT&T Labs Research