numb 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +10 -0
- data/Rakefile +52 -0
- data/VERSION +1 -0
- data/lib/numb/abundant.rb +20 -0
- data/lib/numb/achilles.rb +15 -0
- data/lib/numb/automorphic.rb +24 -0
- data/lib/numb/carol.rb +21 -0
- data/lib/numb/deficient.rb +19 -0
- data/lib/numb/dihedral_prime.rb +25 -0
- data/lib/numb/dudeney.rb +15 -0
- data/lib/numb/economical.rb +16 -0
- data/lib/numb/emrip.rb +17 -0
- data/lib/numb/equidigital.rb +18 -0
- data/lib/numb/extravagant.rb +18 -0
- data/lib/numb/factorion.rb +15 -0
- data/lib/numb/frugal.rb +16 -0
- data/lib/numb/happy.rb +15 -0
- data/lib/numb/harshad.rb +8 -0
- data/lib/numb/hilbert.rb +7 -0
- data/lib/numb/hyperperfect.rb +7 -0
- data/lib/numb/impolite.rb +6 -0
- data/lib/numb/kaprekar.rb +14 -0
- data/lib/numb/keith.rb +15 -0
- data/lib/numb/kynea.rb +9 -0
- data/lib/numb/mms_pair.rb +11 -0
- data/lib/numb/mobius.rb +11 -0
- data/lib/numb/narcissistic.rb +8 -0
- data/lib/numb/nivenmorphic.rb +9 -0
- data/lib/numb/ordinal.rb +11 -0
- data/lib/numb/parasitic.rb +10 -0
- data/lib/numb/perfect.rb +10 -0
- data/lib/numb/perfect_power.rb +9 -0
- data/lib/numb/polite.rb +7 -0
- data/lib/numb/polydivisible.rb +10 -0
- data/lib/numb/powerful.rb +8 -0
- data/lib/numb/practical.rb +26 -0
- data/lib/numb/prime.rb +495 -0
- data/lib/numb/ruby1.8.rb +9 -0
- data/lib/numb/ruby1.9.rb +8 -0
- data/lib/numb/self.rb +13 -0
- data/lib/numb/self_descriptive.rb +9 -0
- data/lib/numb/semi_perfect.rb +15 -0
- data/lib/numb/semiprime.rb +6 -0
- data/lib/numb/smarandache_wellin.rb +11 -0
- data/lib/numb/smith.rb +7 -0
- data/lib/numb/sphenic.rb +8 -0
- data/lib/numb/square.rb +8 -0
- data/lib/numb/square_free.rb +6 -0
- data/lib/numb/triangular.rb +8 -0
- data/lib/numb/trimorphic.rb +6 -0
- data/lib/numb/undulating.rb +11 -0
- data/lib/numb/vampire.rb +11 -0
- data/lib/numb/weird.rb +8 -0
- data/lib/numb.rb +80 -0
- data/numb.gemspec +201 -0
- data/spec/abundant_spec.rb +24 -0
- data/spec/achilles_spec.rb +24 -0
- data/spec/automorphic_spec.rb +208 -0
- data/spec/carol_spec.rb +18 -0
- data/spec/deficient_spec.rb +23 -0
- data/spec/digital_sum_spec.rb +8 -0
- data/spec/dihedral_prime_spec.rb +38 -0
- data/spec/dudeney_spec.rb +14 -0
- data/spec/economical_spec.rb +28 -0
- data/spec/emrip_spec.rb +26 -0
- data/spec/equidigital_spec.rb +27 -0
- data/spec/extravagant_spec.rb +20 -0
- data/spec/factor_spec.rb +22 -0
- data/spec/factorion_spec.rb +13 -0
- data/spec/frugal_spec.rb +20 -0
- data/spec/happy_spec.rb +24 -0
- data/spec/harshad_spec.rb +25 -0
- data/spec/hilbert_spec.rb +24 -0
- data/spec/hyperperfect_spec.rb +59 -0
- data/spec/kaprekar_spec.rb +25 -0
- data/spec/keith_spec.rb +21 -0
- data/spec/kynea_spec.rb +19 -0
- data/spec/maris_mcgwire_sosa_pair_spec.rb +20 -0
- data/spec/mobius_spec.rb +52 -0
- data/spec/narcissistic_spec.rb +18 -0
- data/spec/nivenmorphic_spec.rb +24 -0
- data/spec/number_of_distinct_prime_factors_spec.rb +35 -0
- data/spec/number_of_prime_factors_spec.rb +32 -0
- data/spec/ordinal_spec.rb +64 -0
- data/spec/parasitic_spec.rb +29 -0
- data/spec/perfect_power_spec.rb +24 -0
- data/spec/perfect_spec.rb +103 -0
- data/spec/polite_spec.rb +14 -0
- data/spec/politeness_spec.rb +11 -0
- data/spec/polydivisible_spec.rb +19 -0
- data/spec/powerful_spec.rb +25 -0
- data/spec/practical_spec.rb +30 -0
- data/spec/self_descriptive_spec.rb +19 -0
- data/spec/self_spec.rb +20 -0
- data/spec/semi_perfect_spec.rb +24 -0
- data/spec/semiprime_spec.rb +21 -0
- data/spec/smarandache_wellin_spec.rb +26 -0
- data/spec/smith_spec.rb +19 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/sphenic_spec.rb +20 -0
- data/spec/square_free_spec.rb +19 -0
- data/spec/square_spec.rb +24 -0
- data/spec/triangular_spec.rb +19 -0
- data/spec/trimorphic_spec.rb +25 -0
- data/spec/undulating_spec.rb +20 -0
- data/spec/vampire_spec.rb +19 -0
- data/spec/weird_spec.rb +24 -0
- metadata +216 -0
metadata
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: numb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Run Paint Run Run
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-12-31 00:00:00 +00:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description:
|
17
|
+
email: runrun@runpaint.org
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- LICENSE
|
24
|
+
- README.rdoc
|
25
|
+
files:
|
26
|
+
- .document
|
27
|
+
- .gitignore
|
28
|
+
- LICENSE
|
29
|
+
- README.rdoc
|
30
|
+
- Rakefile
|
31
|
+
- VERSION
|
32
|
+
- lib/numb.rb
|
33
|
+
- lib/numb/abundant.rb
|
34
|
+
- lib/numb/achilles.rb
|
35
|
+
- lib/numb/automorphic.rb
|
36
|
+
- lib/numb/carol.rb
|
37
|
+
- lib/numb/deficient.rb
|
38
|
+
- lib/numb/dihedral_prime.rb
|
39
|
+
- lib/numb/dudeney.rb
|
40
|
+
- lib/numb/economical.rb
|
41
|
+
- lib/numb/emrip.rb
|
42
|
+
- lib/numb/equidigital.rb
|
43
|
+
- lib/numb/extravagant.rb
|
44
|
+
- lib/numb/factorion.rb
|
45
|
+
- lib/numb/frugal.rb
|
46
|
+
- lib/numb/happy.rb
|
47
|
+
- lib/numb/harshad.rb
|
48
|
+
- lib/numb/hilbert.rb
|
49
|
+
- lib/numb/hyperperfect.rb
|
50
|
+
- lib/numb/impolite.rb
|
51
|
+
- lib/numb/kaprekar.rb
|
52
|
+
- lib/numb/keith.rb
|
53
|
+
- lib/numb/kynea.rb
|
54
|
+
- lib/numb/mms_pair.rb
|
55
|
+
- lib/numb/mobius.rb
|
56
|
+
- lib/numb/narcissistic.rb
|
57
|
+
- lib/numb/nivenmorphic.rb
|
58
|
+
- lib/numb/ordinal.rb
|
59
|
+
- lib/numb/parasitic.rb
|
60
|
+
- lib/numb/perfect.rb
|
61
|
+
- lib/numb/perfect_power.rb
|
62
|
+
- lib/numb/polite.rb
|
63
|
+
- lib/numb/polydivisible.rb
|
64
|
+
- lib/numb/powerful.rb
|
65
|
+
- lib/numb/practical.rb
|
66
|
+
- lib/numb/prime.rb
|
67
|
+
- lib/numb/ruby1.8.rb
|
68
|
+
- lib/numb/ruby1.9.rb
|
69
|
+
- lib/numb/self.rb
|
70
|
+
- lib/numb/self_descriptive.rb
|
71
|
+
- lib/numb/semi_perfect.rb
|
72
|
+
- lib/numb/semiprime.rb
|
73
|
+
- lib/numb/smarandache_wellin.rb
|
74
|
+
- lib/numb/smith.rb
|
75
|
+
- lib/numb/sphenic.rb
|
76
|
+
- lib/numb/square.rb
|
77
|
+
- lib/numb/square_free.rb
|
78
|
+
- lib/numb/triangular.rb
|
79
|
+
- lib/numb/trimorphic.rb
|
80
|
+
- lib/numb/undulating.rb
|
81
|
+
- lib/numb/vampire.rb
|
82
|
+
- lib/numb/weird.rb
|
83
|
+
- numb.gemspec
|
84
|
+
- spec/abundant_spec.rb
|
85
|
+
- spec/achilles_spec.rb
|
86
|
+
- spec/automorphic_spec.rb
|
87
|
+
- spec/carol_spec.rb
|
88
|
+
- spec/deficient_spec.rb
|
89
|
+
- spec/digital_sum_spec.rb
|
90
|
+
- spec/dihedral_prime_spec.rb
|
91
|
+
- spec/dudeney_spec.rb
|
92
|
+
- spec/economical_spec.rb
|
93
|
+
- spec/emrip_spec.rb
|
94
|
+
- spec/equidigital_spec.rb
|
95
|
+
- spec/extravagant_spec.rb
|
96
|
+
- spec/factor_spec.rb
|
97
|
+
- spec/factorion_spec.rb
|
98
|
+
- spec/frugal_spec.rb
|
99
|
+
- spec/happy_spec.rb
|
100
|
+
- spec/harshad_spec.rb
|
101
|
+
- spec/hilbert_spec.rb
|
102
|
+
- spec/hyperperfect_spec.rb
|
103
|
+
- spec/kaprekar_spec.rb
|
104
|
+
- spec/keith_spec.rb
|
105
|
+
- spec/kynea_spec.rb
|
106
|
+
- spec/maris_mcgwire_sosa_pair_spec.rb
|
107
|
+
- spec/mobius_spec.rb
|
108
|
+
- spec/narcissistic_spec.rb
|
109
|
+
- spec/nivenmorphic_spec.rb
|
110
|
+
- spec/number_of_distinct_prime_factors_spec.rb
|
111
|
+
- spec/number_of_prime_factors_spec.rb
|
112
|
+
- spec/ordinal_spec.rb
|
113
|
+
- spec/parasitic_spec.rb
|
114
|
+
- spec/perfect_power_spec.rb
|
115
|
+
- spec/perfect_spec.rb
|
116
|
+
- spec/polite_spec.rb
|
117
|
+
- spec/politeness_spec.rb
|
118
|
+
- spec/polydivisible_spec.rb
|
119
|
+
- spec/powerful_spec.rb
|
120
|
+
- spec/practical_spec.rb
|
121
|
+
- spec/self_descriptive_spec.rb
|
122
|
+
- spec/self_spec.rb
|
123
|
+
- spec/semi_perfect_spec.rb
|
124
|
+
- spec/semiprime_spec.rb
|
125
|
+
- spec/smarandache_wellin_spec.rb
|
126
|
+
- spec/smith_spec.rb
|
127
|
+
- spec/spec_helper.rb
|
128
|
+
- spec/sphenic_spec.rb
|
129
|
+
- spec/square_free_spec.rb
|
130
|
+
- spec/square_spec.rb
|
131
|
+
- spec/triangular_spec.rb
|
132
|
+
- spec/trimorphic_spec.rb
|
133
|
+
- spec/undulating_spec.rb
|
134
|
+
- spec/vampire_spec.rb
|
135
|
+
- spec/weird_spec.rb
|
136
|
+
has_rdoc: true
|
137
|
+
homepage: http://github.com/runpaint/numb
|
138
|
+
licenses: []
|
139
|
+
|
140
|
+
post_install_message:
|
141
|
+
rdoc_options:
|
142
|
+
- --charset=UTF-8
|
143
|
+
require_paths:
|
144
|
+
- lib
|
145
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 1.9.1
|
150
|
+
version:
|
151
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: "0"
|
156
|
+
version:
|
157
|
+
requirements: []
|
158
|
+
|
159
|
+
rubyforge_project:
|
160
|
+
rubygems_version: 1.3.5
|
161
|
+
signing_key:
|
162
|
+
specification_version: 3
|
163
|
+
summary: Experiments in number theory with new predicate methods for Integer.
|
164
|
+
test_files:
|
165
|
+
- spec/economical_spec.rb
|
166
|
+
- spec/polydivisible_spec.rb
|
167
|
+
- spec/equidigital_spec.rb
|
168
|
+
- spec/nivenmorphic_spec.rb
|
169
|
+
- spec/dudeney_spec.rb
|
170
|
+
- spec/square_free_spec.rb
|
171
|
+
- spec/abundant_spec.rb
|
172
|
+
- spec/self_spec.rb
|
173
|
+
- spec/square_spec.rb
|
174
|
+
- spec/ordinal_spec.rb
|
175
|
+
- spec/perfect_spec.rb
|
176
|
+
- spec/perfect_power_spec.rb
|
177
|
+
- spec/polite_spec.rb
|
178
|
+
- spec/automorphic_spec.rb
|
179
|
+
- spec/hyperperfect_spec.rb
|
180
|
+
- spec/spec_helper.rb
|
181
|
+
- spec/kynea_spec.rb
|
182
|
+
- spec/factor_spec.rb
|
183
|
+
- spec/emrip_spec.rb
|
184
|
+
- spec/smith_spec.rb
|
185
|
+
- spec/vampire_spec.rb
|
186
|
+
- spec/dihedral_prime_spec.rb
|
187
|
+
- spec/sphenic_spec.rb
|
188
|
+
- spec/practical_spec.rb
|
189
|
+
- spec/parasitic_spec.rb
|
190
|
+
- spec/number_of_prime_factors_spec.rb
|
191
|
+
- spec/frugal_spec.rb
|
192
|
+
- spec/semiprime_spec.rb
|
193
|
+
- spec/deficient_spec.rb
|
194
|
+
- spec/happy_spec.rb
|
195
|
+
- spec/triangular_spec.rb
|
196
|
+
- spec/semi_perfect_spec.rb
|
197
|
+
- spec/smarandache_wellin_spec.rb
|
198
|
+
- spec/maris_mcgwire_sosa_pair_spec.rb
|
199
|
+
- spec/trimorphic_spec.rb
|
200
|
+
- spec/harshad_spec.rb
|
201
|
+
- spec/carol_spec.rb
|
202
|
+
- spec/powerful_spec.rb
|
203
|
+
- spec/weird_spec.rb
|
204
|
+
- spec/number_of_distinct_prime_factors_spec.rb
|
205
|
+
- spec/digital_sum_spec.rb
|
206
|
+
- spec/factorion_spec.rb
|
207
|
+
- spec/undulating_spec.rb
|
208
|
+
- spec/extravagant_spec.rb
|
209
|
+
- spec/self_descriptive_spec.rb
|
210
|
+
- spec/kaprekar_spec.rb
|
211
|
+
- spec/hilbert_spec.rb
|
212
|
+
- spec/keith_spec.rb
|
213
|
+
- spec/narcissistic_spec.rb
|
214
|
+
- spec/achilles_spec.rb
|
215
|
+
- spec/politeness_spec.rb
|
216
|
+
- spec/mobius_spec.rb
|