Möbius function: Difference between revisions

Content added Content deleted
No edit summary
mNo edit summary
Line 619: Line 619:
NSInteger i
NSInteger i


printf @"First 200 terms of Mobius swquence:"
printf @"First 100 terms of Mobius sequence:"


for i = 1 to 100
for i = 1 to 100
Line 630: Line 630:
{{output}}
{{output}}
<pre>
<pre>
First 200 terms of Mobius swquence:
First 100 terms of Mobius sequence:
1 -1 -1 0 -1 1 -1 0 0 1 -1 0 -1 1 1 0 -1 0 -1 0
1 -1 -1 0 -1 1 -1 0 0 1 -1 0 -1 1 1 0 -1 0 -1 0
1 1 -1 0 0 1 0 0 -1 -1 -1 0 1 1 1 0 -1 1 1 0
1 1 -1 0 0 1 0 0 -1 -1 -1 0 1 1 1 0 -1 1 1 0