Raku Books / Raku One-Liners

Working with Numbers

  • Grepping multiples of 3 and 5
  • Generating random integers
  • Working with big numbers
  • Testing palindromic numbers
  • Adding up even Fibonacci numbers
  • Playing with Fibonacci numbers
  • Distance between two points
  • Playing with prime numbers
  • Using map and Seq to compute the value of π
  • Computing totals
  • Sum of the numbers equal to the sum of factorials of digits
  • 42 via the cubes

Andrew Shitov’s Raku Books

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

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