Sha256: af8a9d2f2c2c589ede64da2698a0b7b399eef9baa3a9bb39674265aa58c70b28

Contents?: true

Size: 118 Bytes

Versions: 5

Compression:

Stored size: 118 Bytes

Contents

class Integer
  def lucas?
    in_sequence?(seq: :lucas, initial: [2])
  end

  def lucas
    lucas2(1, -1)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
numb-0.186.0 lib/numb/lucas.rb
numb-0.185.0 lib/numb/lucas.rb
numb-0.184.0 lib/numb/lucas.rb
numb-0.181.0 lib/numb/lucas.rb
numb-0.170.0 lib/numb/lucas.rb