-
Notifications
You must be signed in to change notification settings - Fork 87
Index of Module prime
Chris Petersen edited this page Oct 21, 2015
·
1 revision
Module: prime
This module provides prime number utilities.
Function | Short Description |
---|---|
(prime? n) | Check if number is a prime number |
(nth-prime n) | Returns the nth prime |
(prime-above n . limit) | Returns first prime above argument |
(prime-below n) | Returns first prime less than argument |
(factor n) | Returns factorization of argument |
(perfect? n) | Returns true if argument is perfect number |
(totient n) | Returns Euler totient |
(aliquot n) | Returns the aliqout sum |
(provable-prime? n) | Returns true if definitely prime |
(probable-prime? n) | Returns true if probably prime |
(random-prime lo hi) | Returns a random prime |
(random-prime-distinct-from lo hi p) | Returns a random prime |
(coprime? m n) | Returns true if arguments coprime |
(random-coprime n) | Return a coprime number |
(modular-inverse a b) | Returns inverse of the modulo |
(modular-expt a e m) | Returns (remainder (expt a e) m) |
(miller-rabin-composite? n) | Returns true if composite |
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip