4..Inf `by` 2 -> lazy.grep {|n| n.factor.all {|p| p `divides` (n/p - 1) } }.first(4).say
[30, 858, 1722, 66198]
Last updated 11 months ago