Jump to content

Möbius function: Difference between revisions

m
Line 574:
 
=={{header|FutureBasic}}==
<lang futurebasic>local fn IsPrime( n as long ) as BooleanBOOL
long i,BOOL result = YES
long i
if ( n < 2 ) then result = NO : exit fn
Line 584 ⟶ 585:
end if
next
result = YES
end fn = result
 
416

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.