Miller–Rabin primality test: Difference between revisions

m
→‎{{header|Run BASIC}}: Fix opening comment
(→‎{{header|Run BASIC}}: base between 2 and n-1; skip loop if x=1 or x=n-1)
m (→‎{{header|Run BASIC}}: Fix opening comment)
Line 3,040:
=={{header|Run BASIC}}==
 
''This code has not been fully tested. Remove this comment after review.''
 
<lang runbasic>input "Input a number:";n
input "Input test:";k
Anonymous user