Sha256: 45d79f1a3a933091a793b0ec8e587c890d2f498d0d95bc453ada0f641326fe61

Contents?: true

Size: 175 Bytes

Versions: 2

Compression:

Stored size: 175 Bytes

Contents

# coding: utf-8
class Integer
  def betrothed?(m)
    σ == m.σ and σ == self.succ + m
  end
  alias :quasi_amicable? :betrothed?
  alias :reduced_amicable? :betrothed?
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
numb-0.111.0 lib/numb/betrothed.rb
numb-0.109.0 lib/numb/betrothed.rb