Raku Books / Using Raku

Numbers

  • Using numbers
    • 19. π
    • 20. Factorial!
    • 21. Fibonacci numbers
    • 22. Print squares
    • 23. Powers of two
    • 24. Odd and even numbers
    • 25. Compare numbers approximately
    • 26. Multiplying big numbers
    • 27. Prime numbers
    • 28. List of prime numbers
    • 29. Prime factors
    • 30. Reducing a fraction
    • 31. Divide by zero
  • Random numbers
    • 32. Generating random numbers
    • 33. Neumann’s random generator
    • 34. Histogram of random numbers
  • Mathematical problems
    • 35. Distance between two points
    • 36. Standard deviation
    • 37. Polar coordinates
    • 38. Monte Carlo method
  • Numbers and strings
    • 39. Unicode digits
    • 40. Guess the number
    • 41. Binary to integer
    • 42. Integer as binary, octal, and hex
    • 43. Sum of digits
    • 44. Bit counter
    • 45. Compose the largest number
    • 46. Convert to Roman numerals
    • 47. Spelling numbers

Andrew Shitov’s Raku Books

Tested programs · Raku Course · Raku.org · Raku Playground · GitHub

Books written by Andrew Shitov · Interactive edition © 2017–2026