1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
|
convert:
exbase10 25715
inbase10 4747
radcon 1022
datetime:
ClockToSec 52063
DateLineToSec 463385220
DateToSec 463338000
SecToClock 14:27:43
SecToDate 1984/09/07
SecToDateLine Friday, September 7, 1984 1:07 pm
SecToUnixDate Sep 7 13:07 1984
IsLeapYear
dayoweek Friday
julian 2445951
saytime just gone three o'clock
factors:
divisors 1 2 3 4 5 6 8 9 10 12 15 18 20 24 30 36 40 45 60 72 90 120 180 360
divisorl 1 2 3 4 6 8 9 12 16 18 24 32 36 48 64 72 96 144 192 288 576
factorial 1
factorial 720
factors 2 2 2 3 3 5
genfactors 2 2 2 3 3 5
gfactorial 15
ispower 3
isprime 97
nxtprime 101
pfactors 2 3 5
prdecomp 3 2 1
prdecomp 3 2 0 1
prime 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
sfactors 2^3 3^2 5
squarefree 23
squarefree
squarefree
squarefree 26
squarefree
squarefree
squarefree 29
squarefree 30
[testing factorizations]
[testing prime numbers]
io:
exists
directory /tmp
lists:
lcollate 3 5 1 3 4 5 1 6 5 2 9 9 2 5 6 1 5 4 3 1 5 3
lcompact 3 1 4 1 5 7 2 6 5 3 5
lclose 3 1 4 1 3
ldelete 3 1 1 5 9 2 6 5 3 5
ldupl 3 3 1 1 4 4 1 1 5 5 9 9 2 2 6 6 5 5 3 3 5 5
lequiv 3 1 4 1 5 9 2 6 5 3 5
lextend 3 1 4 1 5 9 2 6 5 3 5 3 1 4 1 5 9 2 6 5
lfliph 5 3 5 6 2 9 5 1 4 1 3
lflipv 7 9 6 9 5 1 8 4 5 7 5
limage [ 3 , 1 , 4 , 1 , 5 , 9 , 2 , 6 , 5 , 3 , 5 ]
lindex 5 9 11
linterl 3 5 1 3 4 5 1 6 5 2 9 9 2 5 6 1 5 4 3 1 5 3
llayer 3 10 1 8 4 11 1 8 5 12 7 14 2 9 6 13 5 12 3 10 5 12
llpad 0 0 0 3 1 4 1 5 9 2 6 5 3 5
lltrim 1 4 1 5 9 2 6 5 3 5
lpalin 3 1 4 1 5 9 2 6 5 3 5 5 3 5 6 2 9 5 1 4 1
lpermute 3 1 4 1 5 9 2 6 5 3 5
lreflect 3 1 4 1 5 9 2 6 5 3 5 3 5 6 2 9 5 1 4 1
lremvals 3 4 9 2 6 3
lrepl 3 1 4 1 5 9 2 6 5 3 5 3 1 4 1 5 9 2 6 5 3 5
lresidue 0 1 1 1 2 0 2 0 2 0 2
lreverse 5 3 5 6 2 9 5 1 4 1 3
lrotate 5 9 2 6 5 3 5 3 1 4 1
lrpad 3 1 4 1 5 9 2 6 5 3 5 0 0 0
lrtrim 3 1 4 1 5 9 2 6
lrundown 3 3 2 3 2 1 3 2 1 3 1 1 4 3 4 3 2 4 3 2 1 4 4 3 2
lrunup 3 4 5 3 3 4 5 3 4 5 6 3 4 5 6 7 8 9 3 4 5 3 4 3 1
lshift 6 4 7 4 8 12 5 9 8 6 8
lswap 1 3 1 4 9 5 6 2 3 5 5
lunique 3 1 4 5 9 2 6
lmaxlen 9
lminlen 1
sortkeys 3 4 5 2 5 5
sortvalues 1 1 9 6 3
str2lst Once upon a mid night drea ry
math:
binocoef 4368
cosh 1.600286858
sinh 1.249367051
tanh 0.7807144354
numbers:
adp 3
adr 1
amean 10.66666667
ceil 4
commas 2,147,483,647
decimal 1.
decimal 0.5
decimal 0.[3]
decimal 0.25
decimal 0.2
decimal 0.1[6]
decimal 0.[142857]
decimal 0.125
decimal 0.[1]
decimal 0.1
decimal 0.[09]
decimal 0.08[3]
decimal 0.[076923]
decimal 0.0[714285]
decimal 0.0[6]
decimal 0.0625
decimal 0.[0588235294117647]
decimal 0.0[5]
decimal 0.[052631578947368421]
decimal 0.05
decipos 3.1415
digprod 903168
digred 1
digroot 1
digsum 46 10 1
distseq 13 24 10 21 7 18 4 15 1 12 23 9 20 6 17 3 14 25 11 22 8 19 5 16 2
div 3.14159292
fix 3.1415
floor 1
frn 3.1416
gcd 6
1 0 -3 5 -7 28 30 35 36
1 1 1 1 1 1 1 1 1 1
0 1 3 5 7 28 30 35 36
-3 1 3 3 1 1 1 3 1 3
5 1 5 1 5 1 1 5 5 1
-7 1 7 1 1 7 7 1 7 1
28 1 28 1 1 7 28 2 7 4
30 1 30 3 5 1 2 30 5 6
35 1 35 1 5 7 7 5 35 1
36 1 36 3 1 1 4 6 1 36
gcdl 3
gmean 5.194140423
hmean 2.721759118
large 214748364721474836472147483647
lcm 120
lcm 120
mantissa .7182818285
max 3.141592654
mdp 2
mdr 0
min 1.618033989
mod1 7
npalins 11 22 33 44 55 66 77 88 99
qmean 16.59317129
residue 7
roman MCMLXXXIX
round 3
sign -1
spell forty-seven thousand one hundred ninety-three
sum 96
trunc 1
unroman 1974
options:
options a:1 b:1 c:1 i:1 r:1 s:1 v:1
options a:1 b:1 c:1 i:1 r:1 s:1 v:1
options a:bc i:42 r:98.6 s:-v
options a:bc i:42 r:98.6 s:1 v:1
options abc:- i:1 r:1 s:-v
options a:bc i:42 r:1 s:1 v:1
argv - 98.6 -b x y
levensht:
levenshtein 0 1 1 2 6 2 3 5 4 3 3
printf:
-1234 37777775456 fffffb2e -1.23e+3 -1234.568 -1234.568
-654 37777776562 fffffd72 -6.54e+2 -654.321 -654.321
-12 37777777764 fffffff4 -1.23e+1 -12.346 -12.346
-7 37777777771 fffffff9 -7.049e0 -7.049 -7.049
-5 37777777773 fffffffb -5.000e0 -5.000 -5.000
-3 37777777775 fffffffd -4.000e0 -4.000 -4.000
0 000000 0 -7.03e-1 -0.703 -0.703
0 000000 0 -2.80e-3 -0.003 -0.003
0 000000 0 -9.00e-4 -0.001 -0.001
0 000000 0 -3.00e-4 -0.000 -0.000
0 000000 0 0.000e0 0.000 0.000
0 000000 0 0.000e0 0.000 0.000
0 000000 0 3.000e-3 0.003 0.003
0 000000 0 5.800e-3 0.006 0.006
0 000000 0 1.234e-1 0.123 0.123
0 000000 0 5.678e-1 0.568 0.568
1 000001 1 1.618e0 1.618 1.618
2 000002 2 2.718e0 2.718 2.718
3 000003 3 3.142e0 3.142 3.142
718 001316 2ce 7.189e+2 718.930 718.930
123456 361100 1e240 1.235e+5 123456.000 123456.000
497000000 3547717100 1d9f9e40 4.970e+8 497000000.000 497000000.000
random:
choose { }
choose { 9 10 11 18 20 }
choose { 2 3 4 6 8 9 11 15 16 18 19 }
choose { 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 }
rand_num 453816694
rand_int 9
randomize
randrange 41
randrangeseq 59 65 71 77 83 89 95 54 60 66 72 78 84 90 96 55 61 67 73 79 85 91 97 56 62
randseq 1903 204320185 193201979 1327087509 597731815 1239640785 169007731 1268039277 280296415 1247011177 1336387883 1564267205 1602778455 875637121 694594403 898487453 1839599183 53926681 2122291483 501816309 844119751 255987249 627419731 1349353677 1652096703
rng 0 453816694 885666996 678165018 1096161928 905669982 656467580 170957890 1583830416 108920774 1539632324 295778538 721762584 1144737966 1333202828 1237514258 1519504672 1583400982 507287252 1824883130 679975336 764038654 1931954844 1814756834 25274032
shuffle J4K2Q5A39T687
rational:
str2rat (355/113)
real2rat (355/113)
rat2str (355/113)
rat2real 3.14159292
negrat (-355/113)
reciprat (113/355)
addrat (138794/40115)
subrat (113256/40115)
mpyrat (-126025/12769)
divrat (126025/12769)
medrat (13/12)
medrat (1/2)
[testing conversions]
records:
field weekday
fieldnum 7
movecorr 10 1952 0.97
scan:
sets:
cset2set { 0 1 2 3 4 5 6 7 8 9 }
domain { one three two }
inverse 22:two 101:one 333:three
range { 22 101 333 }
seteq { 1 4 7 }
setlt { 1 3 4 7 }
simage { 5, 4, 9, 3, 2, 1, 6 }
sort:
isort : a e e e e e h h m n N o o Q R r r t T u v
sortff 1 5 1 6 2 7 3 8 3 9
strings:
cat abcdefghi
charcnt 11
collate a1b2c3d4e5
comb abc abd abe acd ace ade bcd bce bde cde
compress Misisipi bokeper unsucesfuly lobies hedles comite
coprefix abc
coprefix ab
coprefix
coprefix ab
coprefix ab
coprefix
coprefix
coprefix
coprefix bc
cosuffix abc
cosuffix
cosuffix bc
cosuffix
cosuffix ab
cosuffix
cosuffix bc
cosuffix
cosuffix bc
csort aabcdefghijklmnoopqrstuuvwxyz
decollate stra ntepr
deletec dnstttnlztn
deletep destitutionalization
deletes deinstuonalizaon
diffcnt 11
extend chocochocochocochocochocochocochocochocochocochocochocochoco
fchars itnaodelsuz
interleave a1b2c3d1e2
ispal abcdcba
maxlen 6
meander dddcddbddadccdcbdcadbcdbbdbadacdabdaacccbccacbbcbacabcaabbbabaaa
multicoll qbfuroioxcwkn
ochars deinstuoalz
odd_even 34141256923656345
palins aaa aba aca ada bab bbb bcb bdb cac cbc ccc cdc dad dbd dcd ddd
permutes abc acb bac bca cab cba
pretrim And in conclusion...
reflect abc*b
reflect abc*cb
reflect abc*ba
reflect abc*cba
replace deinsletuleonalizaleon
replacem deinsletulinealizaline
replc aaabcc
rotate cathouse
schars adeilnostuz
scramble ontinutdnzlistieitaiao
selectp intuit
slugs fly.me.to the.moon and.let.me play.among the.stars
starseq a b aa ab ba bb aaa aab aba abb baa bab bba bbb aaaa aaab aaba aabb abaa abab abba abbb baaa baab
strcnt 3
substrings dei ein ins nst sti tit itu tut uti tio ion ona nal ali liz iza zat ati tio ion
transpose chateous
words fly me to the moon and let me play among the stars
tables:
keylist one three two
kvallist 101 333 22
tbleq one:101 three:333 two:22
tblunion one:101 three:333 two:22
tblinter one:101 three:333 two:22
tbldiff
tblinvrt 22:two 101:one 333:three
tbldflt 0
twt 22:two 101:one 333:three one:101 three:333 two:22
vallist 22 101 333
|