<s>
UBASIC	B-Language
is	O
a	O
freeware	B-License
(	O
public	B-Application
domain	I-Application
software	I-Application
without	O
source	O
code	O
)	O
BASIC	B-Language
interpreter	I-Language
written	O
by	O
Yuji	O
Kida	O
at	O
Rikkyo	O
University	O
in	O
Japan	O
,	O
specialized	O
for	O
mathematical	O
computing	O
.	O
</s>
<s>
UBASIC	B-Language
is	O
a	O
ready-to-run	O
language	O
that	O
does	O
not	O
need	O
to	O
be	O
set	O
up	O
with	O
another	O
advanced	O
language	O
,	O
which	O
is	O
a	O
common	O
problem	O
with	O
multi-digit	O
math	O
languages	O
.	O
</s>
<s>
It	O
runs	O
in	O
DOS	B-Device
or	O
in	O
a	O
DOS	B-Device
box	O
under	O
DOS	B-Application
shell	I-Application
,	O
Microsoft	B-Application
Windows	I-Application
,	O
etc	O
.	O
</s>
<s>
It	O
is	O
specialized	O
for	O
number	O
theory	O
,	O
primality	B-Algorithm
testing	I-Algorithm
,	O
factoring	O
,	O
and	O
large	O
integers	O
(	O
up	O
to	O
2600	O
digits	O
)	O
.	O
</s>
<s>
UBASIC	B-Language
has	O
a	O
built-in	O
on-line	O
editor	O
with	O
several	O
aids	O
for	O
debugging	O
.	O
</s>
<s>
It	O
can	O
shell	O
to	O
DOS	B-Device
or	O
execute	O
a	O
DOS	B-Device
command	O
.	O
</s>
<s>
It	O
can	O
convert	O
between	O
single-byte	O
character	O
set	O
and	O
double-byte	O
character	O
set	O
,	O
but	O
to	O
have	O
much	O
use	O
for	O
this	O
,	O
the	O
host	O
computer	O
would	O
likely	O
need	O
an	O
aware	O
operating	B-General_Concept
system	I-General_Concept
.	O
</s>
<s>
Primality	B-Algorithm
testing	I-Algorithm
with	O
APRT-CLE	O
(	O
to	O
884	O
digits	O
)	O
(	O
it	O
is	O
best	O
to	O
run	O
this	O
under	O
UBASIC	B-Language
version	O
8.8F	O
or	O
later	O
)	O
:	O
500	O
digits	O
said	O
to	O
take	O
5	O
hours	O
on	O
a	O
PP-200	O
,	O
150	O
digits	O
takes	O
about	O
16	O
minutes	O
on	O
a	O
486-100	O
,	O
about	O
2¼	O
minutes	O
on	O
a	O
K6	O
@233	O
;	O
250	O
digits	O
takes	O
about	O
13½	O
minutes	O
on	O
a	O
K6	O
@233	O
.	O
</s>
<s>
(	O
Finding	O
factors	O
with	O
the	O
elliptic	B-Algorithm
curve	I-Algorithm
method	I-Algorithm
is	O
always	O
chancy	O
for	O
larger	O
factors	O
.	O
</s>
<s>
It	O
has	O
preliminary	O
primality	B-Algorithm
testing	I-Algorithm
,	O
finding	O
small	O
factors	O
,	O
and	O
powers	O
.	O
</s>
<s>
UBASIC	B-Language
has	O
line	O
numbers	O
.	O
</s>
<s>
It	O
is	O
a	O
mistake	O
to	O
consider	O
UBASIC	B-Language
as	O
"	O
not	O
modern	O
"	O
(	O
as	O
might	O
be	O
inferred	O
by	O
a	O
reader	O
of	O
articles	O
that	O
confuse	O
indentation	O
with	O
structure	O
and	O
do	O
n't	O
favor	O
line	O
numbers	O
)	O
.	O
</s>
<s>
UBASIC	B-Language
version	O
8	O
has	O
the	O
high-precision	O
real	O
and	O
complex	O
arithmetic	O
(	O
up	O
to	O
2600	O
digits	O
)	O
of	O
prior	O
versions	O
,	O
and	O
adds	O
exact	O
rational	O
arithmetic	O
and	O
arithmetic	O
of	O
single-variable	O
polynomials	O
with	O
complex	O
,	O
rational	O
,	O
or	O
modulo	O
p	O
coefficients	O
,	O
as	O
well	O
as	O
string	O
handling	O
and	O
limited	O
list	O
handling	O
abilities	O
.	O
</s>
<s>
UBASIC	B-Language
has	O
several	O
types	O
of	O
arrays	O
,	O
logical	O
operators	O
,	O
bit	O
operators	O
,	O
4	O
standard	O
loop	O
structures	O
,	O
and	O
combined	O
operators	O
.	O
</s>
<s>
Strings	O
can	O
usually	O
be	O
executed	O
if	O
it	O
represents	O
a	O
UBASIC	B-Language
command	O
.	O
</s>
<s>
UBASIC	B-Language
can	O
be	O
used	O
to	O
process	O
almost	O
any	O
kind	O
of	O
data	O
.	O
</s>
<s>
Some	O
versions	O
of	O
UBASIC	B-Language
came	O
with	O
a	O
defective	O
UBCONST7.DAT	O
file	O
.	O
</s>
<s>
For	O
obtaining	O
the	O
latest	O
version	O
of	O
UBASIC	B-Language
,	O
see	O
external	O
links	O
sections	O
.	O
</s>
<s>
UBASIC	B-Language
was	O
written	O
by	O
:	O
</s>
<s>
UBASIC	B-Language
can	O
calculate	O
the	O
partition	O
function	O
to	O
over	O
p(1330521 )	O
.	O
</s>
<s>
Has	O
ready-made	O
application	O
programs	O
such	O
as	O
primality	B-Algorithm
test	I-Algorithm
,	O
factoring	O
,	O
Bernoulli	O
numbers	O
,	O
zeta	O
function	O
,	O
etc	O
.	O
</s>
