Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Factors of a number, prime numbers
--Title of this code main = print $ factors 54451 factors n = [x | x <- [1..n], n `mod` x == 0] is_prime n = factors n == [1, n]
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
perfect numbers
Kleinste
New wall
appending and prepending list
Métodos simples
Forkitup
Is Preorder BST
Modeling algebraic understanding with Haskell in KS1
haskell_exam_demo
Token
Please log in to post a comment.