numb 0.84.0 → 0.89.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -10
- data/VERSION +1 -1
- data/lib/numb/dihedral_prime.rb +8 -2
- data/lib/numb/goldbach.rb +6 -0
- data/lib/numb/nivenmorphic.rb +1 -1
- data/lib/numb/nonhypotenuse.rb +7 -0
- data/lib/numb/safe_prime.rb +5 -0
- data/lib/numb/st/303/270rmer.rb +6 -0
- data/lib/numb/unusual.rb +5 -0
- data/spec/{dihedral_prime_spec.rb → numb/dihedral_prime_spec.rb} +1 -1
- data/spec/numb/goldbach_spec.rb +23 -0
- data/spec/{nivenmorphic_spec.rb → numb/nivenmorphic_spec.rb} +7 -7
- data/spec/numb/nonhypotenuse_spec.rb +20 -0
- data/spec/{perfect_spec.rb → numb/perfect_spec.rb} +0 -2
- data/spec/numb/safe_prime_spec.rb +20 -0
- data/spec/numb/st/303/270rmer_spec.rb +21 -0
- data/spec/numb/unusual_spec.rb +20 -0
- data/spec/spec_helper.rb +1 -5
- metadata +289 -276
- data/spec/01_spec.rb +0 -1
- /data/spec/{abundancy_spec.rb → numb/abundancy_spec.rb} +0 -0
- /data/spec/{abundant_spec.rb → numb/abundant_spec.rb} +0 -0
- /data/spec/{achilles_spec.rb → numb/achilles_spec.rb} +0 -0
- /data/spec/{almost_perfect_spec.rb → numb/almost_perfect_spec.rb} +0 -0
- /data/spec/{almost_prime_spec.rb → numb/almost_prime_spec.rb} +0 -0
- /data/spec/{amicable_spec.rb → numb/amicable_spec.rb} +0 -0
- /data/spec/{apocalyptic_spec.rb → numb/apocalyptic_spec.rb} +0 -0
- /data/spec/{aspiring_spec.rb → numb/aspiring_spec.rb} +0 -0
- /data/spec/{augmented_amicable_spec.rb → numb/augmented_amicable_spec.rb} +0 -0
- /data/spec/{automorphic_spec.rb → numb/automorphic_spec.rb} +0 -0
- /data/spec/{balanced_prime_spec.rb → numb/balanced_prime_spec.rb} +0 -0
- /data/spec/{base_spec.rb → numb/base_spec.rb} +0 -0
- /data/spec/{binomial_spec.rb → numb/binomial_spec.rb} +0 -0
- /data/spec/{biquadratic_spec.rb → numb/biquadratic_spec.rb} +0 -0
- /data/spec/{breeder_spec.rb → numb/breeder_spec.rb} +0 -0
- /data/spec/{brown_spec.rb → numb/brown_spec.rb} +0 -0
- /data/spec/{carmichael_spec.rb → numb/carmichael_spec.rb} +0 -0
- /data/spec/{carol_spec.rb → numb/carol_spec.rb} +0 -0
- /data/spec/{centered_n_gonal_spec.rb → numb/centered_n_gonal_spec.rb} +0 -0
- /data/spec/{centered_triangular_spec.rb → numb/centered_triangular_spec.rb} +0 -0
- /data/spec/{composite_spec.rb → numb/composite_spec.rb} +0 -0
- /data/spec/{congruum_spec.rb → numb/congruum_spec.rb} +0 -0
- /data/spec/{coprime_spec.rb → numb/coprime_spec.rb} +0 -0
- /data/spec/{core_spec.rb → numb/core_spec.rb} +0 -0
- /data/spec/{cube_spec.rb → numb/cube_spec.rb} +0 -0
- /data/spec/{d_spec.rb → numb/d_spec.rb} +0 -0
- /data/spec/{decagonal_spec.rb → numb/decagonal_spec.rb} +0 -0
- /data/spec/{deficient_spec.rb → numb/deficient_spec.rb} +0 -0
- /data/spec/{digital_sum_spec.rb → numb/digital_sum_spec.rb} +0 -0
- /data/spec/{divides_spec.rb → numb/divides_spec.rb} +0 -0
- /data/spec/{dodecagonal_spec.rb → numb/dodecagonal_spec.rb} +0 -0
- /data/spec/{dudeney_spec.rb → numb/dudeney_spec.rb} +0 -0
- /data/spec/{economical_spec.rb → numb/economical_spec.rb} +0 -0
- /data/spec/{emrip_spec.rb → numb/emrip_spec.rb} +0 -0
- /data/spec/{equidigital_spec.rb → numb/equidigital_spec.rb} +0 -0
- /data/spec/{evil_spec.rb → numb/evil_spec.rb} +0 -0
- /data/spec/{extravagant_spec.rb → numb/extravagant_spec.rb} +0 -0
- /data/spec/{factorial_spec.rb → numb/factorial_spec.rb} +0 -0
- /data/spec/{factorion_spec.rb → numb/factorion_spec.rb} +0 -0
- /data/spec/{fermat_pseudoprime_spec.rb → numb/fermat_pseudoprime_spec.rb} +0 -0
- /data/spec/{fibonacci_spec.rb → numb/fibonacci_spec.rb} +0 -0
- /data/spec/{friendly_spec.rb → numb/friendly_spec.rb} +0 -0
- /data/spec/{frugal_spec.rb → numb/frugal_spec.rb} +0 -0
- /data/spec/{happy_spec.rb → numb/happy_spec.rb} +0 -0
- /data/spec/{harshad_spec.rb → numb/harshad_spec.rb} +0 -0
- /data/spec/{heptagonal_spec.rb → numb/heptagonal_spec.rb} +0 -0
- /data/spec/{hexagonal_spec.rb → numb/hexagonal_spec.rb} +0 -0
- /data/spec/{highly_abundant_spec.rb → numb/highly_abundant_spec.rb} +0 -0
- /data/spec/{highly_composite_spec.rb → numb/highly_composite_spec.rb} +0 -0
- /data/spec/{hilbert_spec.rb → numb/hilbert_spec.rb} +0 -0
- /data/spec/{hyperperfect_spec.rb → numb/hyperperfect_spec.rb} +0 -0
- /data/spec/{idoneal_spec.rb → numb/idoneal_spec.rb} +0 -0
- /data/spec/{integer_p_spec.rb → numb/integer_p_spec.rb} +0 -0
- /data/spec/{interprime_spec.rb → numb/interprime_spec.rb} +0 -0
- /data/spec/{jacobsthal_lucas_spec.rb → numb/jacobsthal_lucas_spec.rb} +0 -0
- /data/spec/{k_perfect.rb → numb/k_perfect_spec.rb} +0 -0
- /data/spec/{kaprekar_spec.rb → numb/kaprekar_spec.rb} +0 -0
- /data/spec/{keith_spec.rb → numb/keith_spec.rb} +0 -0
- /data/spec/{knodel_spec.rb → numb/knodel_spec.rb} +0 -0
- /data/spec/{kynea_spec.rb → numb/kynea_spec.rb} +0 -0
- /data/spec/{leonardo_spec.rb → numb/leonardo_spec.rb} +0 -0
- /data/spec/{leyland_spec.rb → numb/leyland_spec.rb} +0 -0
- /data/spec/{lucas_carmichael_spec.rb → numb/lucas_carmichael_spec.rb} +0 -0
- /data/spec/{lucas_spec.rb → numb/lucas_spec.rb} +0 -0
- /data/spec/{maris_mcgwire_sosa_pair_spec.rb → numb/maris_mcgwire_sosa_pair_spec.rb} +0 -0
- /data/spec/{mersenne_prime_spec.rb → numb/mersenne_prime_spec.rb} +0 -0
- /data/spec/{minimal_spec.rb → numb/minimal_spec.rb} +0 -0
- /data/spec/{mobius_spec.rb → numb/mobius_spec.rb} +0 -0
- /data/spec/{myriagonal_spec.rb → numb/myriagonal_spec.rb} +0 -0
- /data/spec/{narcissistic_spec.rb → numb/narcissistic_spec.rb} +0 -0
- /data/spec/{noncototient_spec.rb → numb/noncototient_spec.rb} +0 -0
- /data/spec/{nth_prime_spec.rb → numb/nth_prime_spec.rb} +0 -0
- /data/spec/{number_of_distinct_prime_factors_spec.rb → numb/number_of_distinct_prime_factors_spec.rb} +0 -0
- /data/spec/{number_of_prime_factors_spec.rb → numb/number_of_prime_factors_spec.rb} +0 -0
- /data/spec/{octagonal_spec.rb → numb/octagonal_spec.rb} +0 -0
- /data/spec/{odious_spec.rb → numb/odious_spec.rb} +0 -0
- /data/spec/{ordinal_spec.rb → numb/ordinal_spec.rb} +0 -0
- /data/spec/{ore_spec.rb → numb/ore_spec.rb} +0 -0
- /data/spec/{parasitic_spec.rb → numb/parasitic_spec.rb} +0 -0
- /data/spec/{pentagonal_spec.rb → numb/pentagonal_spec.rb} +0 -0
- /data/spec/{perfect_power_spec.rb → numb/perfect_power_spec.rb} +0 -0
- /data/spec/{polite_spec.rb → numb/polite_spec.rb} +0 -0
- /data/spec/{politeness_spec.rb → numb/politeness_spec.rb} +0 -0
- /data/spec/{polydivisible_spec.rb → numb/polydivisible_spec.rb} +0 -0
- /data/spec/{positive_spec.rb → numb/positive_spec.rb} +0 -0
- /data/spec/{poulet_spec.rb → numb/poulet_spec.rb} +0 -0
- /data/spec/{powerful_spec.rb → numb/powerful_spec.rb} +0 -0
- /data/spec/{practical_spec.rb → numb/practical_spec.rb} +0 -0
- /data/spec/{prime_count_spec.rb → numb/prime_count_spec.rb} +0 -0
- /data/spec/{prime_signature_spec.rb → numb/prime_signature_spec.rb} +0 -0
- /data/spec/{primitive_pseudoperfect_spec.rb → numb/primitive_pseudoperfect_spec.rb} +0 -0
- /data/spec/{primorial_spec.rb → numb/primorial_spec.rb} +0 -0
- /data/spec/{pronic_spec.rb → numb/pronic_spec.rb} +0 -0
- /data/spec/{proth_spec.rb → numb/proth_spec.rb} +0 -0
- /data/spec/{quarticfree_spec.rb → numb/quarticfree_spec.rb} +0 -0
- /data/spec/{refactorable_spec.rb → numb/refactorable_spec.rb} +0 -0
- /data/spec/{repunit_spec.rb → numb/repunit_spec.rb} +0 -0
- /data/spec/{rhonda_spec.rb → numb/rhonda_spec.rb} +0 -0
- /data/spec/{rough_spec.rb → numb/rough_spec.rb} +0 -0
- /data/spec/{self_descriptive_spec.rb → numb/self_descriptive_spec.rb} +0 -0
- /data/spec/{self_spec.rb → numb/self_spec.rb} +0 -0
- /data/spec/{semi_perfect_spec.rb → numb/semi_perfect_spec.rb} +0 -0
- /data/spec/{semiprime_spec.rb → numb/semiprime_spec.rb} +0 -0
- /data/spec/{smarandache_wellin_spec.rb → numb/smarandache_wellin_spec.rb} +0 -0
- /data/spec/{smith_spec.rb → numb/smith_spec.rb} +0 -0
- /data/spec/{smooth_spec.rb → numb/smooth_spec.rb} +0 -0
- /data/spec/{sociable_spec.rb → numb/sociable_spec.rb} +0 -0
- /data/spec/{sophie_germain_prime_spec.rb → numb/sophie_germain_prime_spec.rb} +0 -0
- /data/spec/{sphenic_spec.rb → numb/sphenic_spec.rb} +0 -0
- /data/spec/{square_free_spec.rb → numb/square_free_spec.rb} +0 -0
- /data/spec/{square_spec.rb → numb/square_spec.rb} +0 -0
- /data/spec/{sublime_spec.rb → numb/sublime_spec.rb} +0 -0
- /data/spec/{sum_of_squares.rb → numb/sum_of_squares_spec.rb} +0 -0
- /data/spec/{sum_of_unitary_divisors_spec.rb → numb/sum_of_unitary_divisors_spec.rb} +0 -0
- /data/spec/{superabundant_spec.rb → numb/superabundant_spec.rb} +0 -0
- /data/spec/{superperfect_spec.rb → numb/superperfect_spec.rb} +0 -0
- /data/spec/{totient_spec.rb → numb/totient_spec.rb} +0 -0
- /data/spec/{triangular_spec.rb → numb/triangular_spec.rb} +0 -0
- /data/spec/{trimorphic_spec.rb → numb/trimorphic_spec.rb} +0 -0
- /data/spec/{twin_prime_spec.rb → numb/twin_prime_spec.rb} +0 -0
- /data/spec/{undulating_spec.rb → numb/undulating_spec.rb} +0 -0
- /data/spec/{unhappy_spec.rb → numb/unhappy_spec.rb} +0 -0
- /data/spec/{unitary_amicable_spec.rb → numb/unitary_amicable_spec.rb} +0 -0
- /data/spec/{unitary_divisor_spec.rb → numb/unitary_divisor_spec.rb} +0 -0
- /data/spec/{unitary_perfect.rb → numb/unitary_perfect_spec.rb} +0 -0
- /data/spec/{unitary_sociable.rb → numb/unitary_sociable_spec.rb} +0 -0
- /data/spec/{untouchable_spec.rb → numb/untouchable_spec.rb} +0 -0
- /data/spec/{vampire_spec.rb → numb/vampire_spec.rb} +0 -0
- /data/spec/{weird_spec.rb → numb/weird_spec.rb} +0 -0
- /data/spec/{wieferich_prime_spec.rb → numb/wieferich_prime_spec.rb} +0 -0
- /data/spec/{woodall_spec.rb → numb/woodall_spec.rb} +0 -0
- /data/spec/{zeisel_spec.rb → numb/zeisel_spec.rb} +0 -0
- /data/spec/{zerofree_spec.rb → numb/zerofree_spec.rb} +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.89.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Run Paint Run Run
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-12 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- lib/numb/fibonacci.rb
|
84
84
|
- lib/numb/friendly.rb
|
85
85
|
- lib/numb/frugal.rb
|
86
|
+
- lib/numb/goldbach.rb
|
86
87
|
- lib/numb/happy.rb
|
87
88
|
- lib/numb/harshad.rb
|
88
89
|
- lib/numb/heptagonal.rb
|
@@ -115,6 +116,7 @@ files:
|
|
115
116
|
- lib/numb/next_prev_prime.rb
|
116
117
|
- lib/numb/nivenmorphic.rb
|
117
118
|
- lib/numb/noncototient.rb
|
119
|
+
- lib/numb/nonhypotenuse.rb
|
118
120
|
- lib/numb/nth_prime.rb
|
119
121
|
- lib/numb/number_of_divisors.rb
|
120
122
|
- lib/numb/octagonal.rb
|
@@ -142,6 +144,7 @@ files:
|
|
142
144
|
- lib/numb/repunit.rb
|
143
145
|
- lib/numb/rhonda.rb
|
144
146
|
- lib/numb/rough.rb
|
147
|
+
- lib/numb/safe_prime.rb
|
145
148
|
- lib/numb/self.rb
|
146
149
|
- lib/numb/self_descriptive.rb
|
147
150
|
- lib/numb/semiperfect.rb
|
@@ -154,6 +157,7 @@ files:
|
|
154
157
|
- lib/numb/sphenic.rb
|
155
158
|
- lib/numb/square.rb
|
156
159
|
- lib/numb/square_free.rb
|
160
|
+
- "lib/numb/st\xC3\xB8rmer.rb"
|
157
161
|
- lib/numb/sublime.rb
|
158
162
|
- lib/numb/sum_of_squares.rb
|
159
163
|
- lib/numb/sum_of_unitary_divisors.rb
|
@@ -170,150 +174,155 @@ files:
|
|
170
174
|
- lib/numb/unitary_perfect.rb
|
171
175
|
- lib/numb/unitary_sociable.rb
|
172
176
|
- lib/numb/untouchable.rb
|
177
|
+
- lib/numb/unusual.rb
|
173
178
|
- lib/numb/vampire.rb
|
174
179
|
- lib/numb/weird.rb
|
175
180
|
- lib/numb/wieferich.rb
|
176
181
|
- lib/numb/woodall.rb
|
177
182
|
- lib/numb/zeisel.rb
|
178
183
|
- lib/numb/zerofree.rb
|
179
|
-
- spec/
|
180
|
-
- spec/
|
181
|
-
- spec/
|
182
|
-
- spec/
|
183
|
-
- spec/
|
184
|
-
- spec/
|
185
|
-
- spec/
|
186
|
-
- spec/
|
187
|
-
- spec/
|
188
|
-
- spec/
|
189
|
-
- spec/
|
190
|
-
- spec/
|
191
|
-
- spec/
|
192
|
-
- spec/
|
193
|
-
- spec/
|
194
|
-
- spec/
|
195
|
-
- spec/
|
196
|
-
- spec/
|
197
|
-
- spec/
|
198
|
-
- spec/
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/
|
205
|
-
- spec/
|
206
|
-
- spec/
|
207
|
-
- spec/
|
208
|
-
- spec/
|
209
|
-
- spec/
|
210
|
-
- spec/
|
211
|
-
- spec/
|
212
|
-
- spec/
|
213
|
-
- spec/
|
214
|
-
- spec/
|
215
|
-
- spec/
|
216
|
-
- spec/
|
217
|
-
- spec/
|
218
|
-
- spec/
|
219
|
-
- spec/
|
220
|
-
- spec/
|
221
|
-
- spec/
|
222
|
-
- spec/
|
223
|
-
- spec/
|
224
|
-
- spec/happy_spec.rb
|
225
|
-
- spec/harshad_spec.rb
|
226
|
-
- spec/heptagonal_spec.rb
|
227
|
-
- spec/hexagonal_spec.rb
|
228
|
-
- spec/highly_abundant_spec.rb
|
229
|
-
- spec/highly_composite_spec.rb
|
230
|
-
- spec/hilbert_spec.rb
|
231
|
-
- spec/hyperperfect_spec.rb
|
232
|
-
- spec/idoneal_spec.rb
|
233
|
-
- spec/integer_p_spec.rb
|
234
|
-
- spec/interprime_spec.rb
|
235
|
-
- spec/jacobsthal_lucas_spec.rb
|
236
|
-
- spec/
|
237
|
-
- spec/kaprekar_spec.rb
|
238
|
-
- spec/keith_spec.rb
|
239
|
-
- spec/knodel_spec.rb
|
240
|
-
- spec/kynea_spec.rb
|
241
|
-
- spec/leonardo_spec.rb
|
242
|
-
- spec/leyland_spec.rb
|
243
|
-
- spec/lucas_carmichael_spec.rb
|
244
|
-
- spec/lucas_spec.rb
|
245
|
-
- spec/maris_mcgwire_sosa_pair_spec.rb
|
246
|
-
- spec/mersenne_prime_spec.rb
|
247
|
-
- spec/minimal_spec.rb
|
248
|
-
- spec/mobius_spec.rb
|
249
|
-
- spec/myriagonal_spec.rb
|
250
|
-
- spec/narcissistic_spec.rb
|
251
|
-
- spec/nivenmorphic_spec.rb
|
252
|
-
- spec/noncototient_spec.rb
|
253
|
-
- spec/
|
254
|
-
- spec/
|
255
|
-
- spec/
|
256
|
-
- spec/
|
257
|
-
- spec/
|
258
|
-
- spec/
|
259
|
-
- spec/
|
260
|
-
- spec/
|
261
|
-
- spec/
|
262
|
-
- spec/
|
263
|
-
- spec/
|
264
|
-
- spec/
|
265
|
-
- spec/
|
266
|
-
- spec/
|
267
|
-
- spec/
|
268
|
-
- spec/
|
269
|
-
- spec/
|
270
|
-
- spec/
|
271
|
-
- spec/
|
272
|
-
- spec/
|
273
|
-
- spec/
|
274
|
-
- spec/
|
275
|
-
- spec/
|
276
|
-
- spec/
|
277
|
-
- spec/
|
278
|
-
- spec/
|
279
|
-
- spec/
|
280
|
-
- spec/
|
281
|
-
- spec/
|
282
|
-
- spec/
|
283
|
-
- spec/
|
284
|
-
- spec/
|
285
|
-
- spec/
|
286
|
-
- spec/
|
287
|
-
- spec/
|
288
|
-
- spec/
|
289
|
-
- spec/
|
290
|
-
- spec/
|
184
|
+
- spec/numb/abundancy_spec.rb
|
185
|
+
- spec/numb/abundant_spec.rb
|
186
|
+
- spec/numb/achilles_spec.rb
|
187
|
+
- spec/numb/almost_perfect_spec.rb
|
188
|
+
- spec/numb/almost_prime_spec.rb
|
189
|
+
- spec/numb/amicable_spec.rb
|
190
|
+
- spec/numb/apocalyptic_spec.rb
|
191
|
+
- spec/numb/aspiring_spec.rb
|
192
|
+
- spec/numb/augmented_amicable_spec.rb
|
193
|
+
- spec/numb/automorphic_spec.rb
|
194
|
+
- spec/numb/balanced_prime_spec.rb
|
195
|
+
- spec/numb/base_spec.rb
|
196
|
+
- spec/numb/binomial_spec.rb
|
197
|
+
- spec/numb/biquadratic_spec.rb
|
198
|
+
- spec/numb/breeder_spec.rb
|
199
|
+
- spec/numb/brown_spec.rb
|
200
|
+
- spec/numb/carmichael_spec.rb
|
201
|
+
- spec/numb/carol_spec.rb
|
202
|
+
- spec/numb/centered_n_gonal_spec.rb
|
203
|
+
- spec/numb/centered_triangular_spec.rb
|
204
|
+
- spec/numb/composite_spec.rb
|
205
|
+
- spec/numb/congruum_spec.rb
|
206
|
+
- spec/numb/coprime_spec.rb
|
207
|
+
- spec/numb/core_spec.rb
|
208
|
+
- spec/numb/cube_spec.rb
|
209
|
+
- spec/numb/d_spec.rb
|
210
|
+
- spec/numb/decagonal_spec.rb
|
211
|
+
- spec/numb/deficient_spec.rb
|
212
|
+
- spec/numb/digital_sum_spec.rb
|
213
|
+
- spec/numb/dihedral_prime_spec.rb
|
214
|
+
- spec/numb/divides_spec.rb
|
215
|
+
- spec/numb/dodecagonal_spec.rb
|
216
|
+
- spec/numb/dudeney_spec.rb
|
217
|
+
- spec/numb/economical_spec.rb
|
218
|
+
- spec/numb/emrip_spec.rb
|
219
|
+
- spec/numb/equidigital_spec.rb
|
220
|
+
- spec/numb/evil_spec.rb
|
221
|
+
- spec/numb/extravagant_spec.rb
|
222
|
+
- spec/numb/factorial_spec.rb
|
223
|
+
- spec/numb/factorion_spec.rb
|
224
|
+
- spec/numb/fermat_pseudoprime_spec.rb
|
225
|
+
- spec/numb/fibonacci_spec.rb
|
226
|
+
- spec/numb/friendly_spec.rb
|
227
|
+
- spec/numb/frugal_spec.rb
|
228
|
+
- spec/numb/goldbach_spec.rb
|
229
|
+
- spec/numb/happy_spec.rb
|
230
|
+
- spec/numb/harshad_spec.rb
|
231
|
+
- spec/numb/heptagonal_spec.rb
|
232
|
+
- spec/numb/hexagonal_spec.rb
|
233
|
+
- spec/numb/highly_abundant_spec.rb
|
234
|
+
- spec/numb/highly_composite_spec.rb
|
235
|
+
- spec/numb/hilbert_spec.rb
|
236
|
+
- spec/numb/hyperperfect_spec.rb
|
237
|
+
- spec/numb/idoneal_spec.rb
|
238
|
+
- spec/numb/integer_p_spec.rb
|
239
|
+
- spec/numb/interprime_spec.rb
|
240
|
+
- spec/numb/jacobsthal_lucas_spec.rb
|
241
|
+
- spec/numb/k_perfect_spec.rb
|
242
|
+
- spec/numb/kaprekar_spec.rb
|
243
|
+
- spec/numb/keith_spec.rb
|
244
|
+
- spec/numb/knodel_spec.rb
|
245
|
+
- spec/numb/kynea_spec.rb
|
246
|
+
- spec/numb/leonardo_spec.rb
|
247
|
+
- spec/numb/leyland_spec.rb
|
248
|
+
- spec/numb/lucas_carmichael_spec.rb
|
249
|
+
- spec/numb/lucas_spec.rb
|
250
|
+
- spec/numb/maris_mcgwire_sosa_pair_spec.rb
|
251
|
+
- spec/numb/mersenne_prime_spec.rb
|
252
|
+
- spec/numb/minimal_spec.rb
|
253
|
+
- spec/numb/mobius_spec.rb
|
254
|
+
- spec/numb/myriagonal_spec.rb
|
255
|
+
- spec/numb/narcissistic_spec.rb
|
256
|
+
- spec/numb/nivenmorphic_spec.rb
|
257
|
+
- spec/numb/noncototient_spec.rb
|
258
|
+
- spec/numb/nonhypotenuse_spec.rb
|
259
|
+
- spec/numb/nth_prime_spec.rb
|
260
|
+
- spec/numb/number_of_distinct_prime_factors_spec.rb
|
261
|
+
- spec/numb/number_of_prime_factors_spec.rb
|
262
|
+
- spec/numb/octagonal_spec.rb
|
263
|
+
- spec/numb/odious_spec.rb
|
264
|
+
- spec/numb/ordinal_spec.rb
|
265
|
+
- spec/numb/ore_spec.rb
|
266
|
+
- spec/numb/parasitic_spec.rb
|
267
|
+
- spec/numb/pentagonal_spec.rb
|
268
|
+
- spec/numb/perfect_power_spec.rb
|
269
|
+
- spec/numb/perfect_spec.rb
|
270
|
+
- spec/numb/polite_spec.rb
|
271
|
+
- spec/numb/politeness_spec.rb
|
272
|
+
- spec/numb/polydivisible_spec.rb
|
273
|
+
- spec/numb/positive_spec.rb
|
274
|
+
- spec/numb/poulet_spec.rb
|
275
|
+
- spec/numb/powerful_spec.rb
|
276
|
+
- spec/numb/practical_spec.rb
|
277
|
+
- spec/numb/prime_count_spec.rb
|
278
|
+
- spec/numb/prime_signature_spec.rb
|
279
|
+
- spec/numb/primitive_pseudoperfect_spec.rb
|
280
|
+
- spec/numb/primorial_spec.rb
|
281
|
+
- spec/numb/pronic_spec.rb
|
282
|
+
- spec/numb/proth_spec.rb
|
283
|
+
- spec/numb/quarticfree_spec.rb
|
284
|
+
- spec/numb/refactorable_spec.rb
|
285
|
+
- spec/numb/repunit_spec.rb
|
286
|
+
- spec/numb/rhonda_spec.rb
|
287
|
+
- spec/numb/rough_spec.rb
|
288
|
+
- spec/numb/safe_prime_spec.rb
|
289
|
+
- spec/numb/self_descriptive_spec.rb
|
290
|
+
- spec/numb/self_spec.rb
|
291
|
+
- spec/numb/semi_perfect_spec.rb
|
292
|
+
- spec/numb/semiprime_spec.rb
|
293
|
+
- spec/numb/smarandache_wellin_spec.rb
|
294
|
+
- spec/numb/smith_spec.rb
|
295
|
+
- spec/numb/smooth_spec.rb
|
296
|
+
- spec/numb/sociable_spec.rb
|
297
|
+
- spec/numb/sophie_germain_prime_spec.rb
|
298
|
+
- spec/numb/sphenic_spec.rb
|
299
|
+
- spec/numb/square_free_spec.rb
|
300
|
+
- spec/numb/square_spec.rb
|
301
|
+
- "spec/numb/st\xC3\xB8rmer_spec.rb"
|
302
|
+
- spec/numb/sublime_spec.rb
|
303
|
+
- spec/numb/sum_of_squares_spec.rb
|
304
|
+
- spec/numb/sum_of_unitary_divisors_spec.rb
|
305
|
+
- spec/numb/superabundant_spec.rb
|
306
|
+
- spec/numb/superperfect_spec.rb
|
307
|
+
- spec/numb/totient_spec.rb
|
308
|
+
- spec/numb/triangular_spec.rb
|
309
|
+
- spec/numb/trimorphic_spec.rb
|
310
|
+
- spec/numb/twin_prime_spec.rb
|
311
|
+
- spec/numb/undulating_spec.rb
|
312
|
+
- spec/numb/unhappy_spec.rb
|
313
|
+
- spec/numb/unitary_amicable_spec.rb
|
314
|
+
- spec/numb/unitary_divisor_spec.rb
|
315
|
+
- spec/numb/unitary_perfect_spec.rb
|
316
|
+
- spec/numb/unitary_sociable_spec.rb
|
317
|
+
- spec/numb/untouchable_spec.rb
|
318
|
+
- spec/numb/unusual_spec.rb
|
319
|
+
- spec/numb/vampire_spec.rb
|
320
|
+
- spec/numb/weird_spec.rb
|
321
|
+
- spec/numb/wieferich_prime_spec.rb
|
322
|
+
- spec/numb/woodall_spec.rb
|
323
|
+
- spec/numb/zeisel_spec.rb
|
324
|
+
- spec/numb/zerofree_spec.rb
|
291
325
|
- spec/spec_helper.rb
|
292
|
-
- spec/sphenic_spec.rb
|
293
|
-
- spec/square_free_spec.rb
|
294
|
-
- spec/square_spec.rb
|
295
|
-
- spec/sublime_spec.rb
|
296
|
-
- spec/sum_of_squares.rb
|
297
|
-
- spec/sum_of_unitary_divisors_spec.rb
|
298
|
-
- spec/superabundant_spec.rb
|
299
|
-
- spec/superperfect_spec.rb
|
300
|
-
- spec/totient_spec.rb
|
301
|
-
- spec/triangular_spec.rb
|
302
|
-
- spec/trimorphic_spec.rb
|
303
|
-
- spec/twin_prime_spec.rb
|
304
|
-
- spec/undulating_spec.rb
|
305
|
-
- spec/unhappy_spec.rb
|
306
|
-
- spec/unitary_amicable_spec.rb
|
307
|
-
- spec/unitary_divisor_spec.rb
|
308
|
-
- spec/unitary_perfect.rb
|
309
|
-
- spec/unitary_sociable.rb
|
310
|
-
- spec/untouchable_spec.rb
|
311
|
-
- spec/vampire_spec.rb
|
312
|
-
- spec/weird_spec.rb
|
313
|
-
- spec/wieferich_prime_spec.rb
|
314
|
-
- spec/woodall_spec.rb
|
315
|
-
- spec/zeisel_spec.rb
|
316
|
-
- spec/zerofree_spec.rb
|
317
326
|
has_rdoc: yard
|
318
327
|
homepage: http://github.com/runpaint/numb
|
319
328
|
licenses: []
|
@@ -343,141 +352,145 @@ signing_key:
|
|
343
352
|
specification_version: 3
|
344
353
|
summary: Experiments in number theory with new predicate methods for Integer.
|
345
354
|
test_files:
|
346
|
-
- spec/
|
347
|
-
- spec/
|
348
|
-
- spec/
|
349
|
-
- spec/
|
350
|
-
- spec/
|
351
|
-
- spec/
|
352
|
-
- spec/
|
353
|
-
- spec/
|
354
|
-
- spec/
|
355
|
-
- spec/
|
356
|
-
- spec/
|
357
|
-
- spec/
|
358
|
-
- spec/
|
359
|
-
- spec/
|
360
|
-
- spec/
|
361
|
-
- spec/
|
362
|
-
- spec/
|
363
|
-
- spec/
|
364
|
-
- spec/
|
365
|
-
- spec/
|
366
|
-
- spec/
|
367
|
-
- spec/
|
368
|
-
- spec/
|
369
|
-
- spec/
|
370
|
-
- spec/
|
371
|
-
- spec/
|
372
|
-
- spec/
|
373
|
-
- spec/
|
374
|
-
- spec/
|
375
|
-
- spec/
|
376
|
-
- spec/
|
377
|
-
- spec/
|
378
|
-
- spec/
|
379
|
-
- spec/
|
380
|
-
- spec/
|
381
|
-
- spec/
|
382
|
-
- spec/
|
383
|
-
- spec/
|
384
|
-
- spec/
|
385
|
-
- spec/
|
386
|
-
- spec/
|
387
|
-
- spec/
|
388
|
-
- spec/
|
389
|
-
- spec/
|
390
|
-
- spec/
|
391
|
-
- spec/
|
392
|
-
- spec/
|
355
|
+
- spec/numb/leonardo_spec.rb
|
356
|
+
- spec/numb/economical_spec.rb
|
357
|
+
- spec/numb/base_spec.rb
|
358
|
+
- spec/numb/proth_spec.rb
|
359
|
+
- spec/numb/prime_signature_spec.rb
|
360
|
+
- spec/numb/unitary_divisor_spec.rb
|
361
|
+
- spec/numb/primitive_pseudoperfect_spec.rb
|
362
|
+
- spec/numb/polydivisible_spec.rb
|
363
|
+
- spec/numb/equidigital_spec.rb
|
364
|
+
- spec/numb/primorial_spec.rb
|
365
|
+
- spec/numb/superabundant_spec.rb
|
366
|
+
- spec/numb/sociable_spec.rb
|
367
|
+
- spec/numb/unitary_perfect_spec.rb
|
368
|
+
- spec/numb/nivenmorphic_spec.rb
|
369
|
+
- spec/numb/dudeney_spec.rb
|
370
|
+
- spec/numb/centered_triangular_spec.rb
|
371
|
+
- spec/numb/square_free_spec.rb
|
372
|
+
- spec/numb/knodel_spec.rb
|
373
|
+
- spec/numb/fermat_pseudoprime_spec.rb
|
374
|
+
- spec/numb/abundant_spec.rb
|
375
|
+
- spec/numb/superperfect_spec.rb
|
376
|
+
- spec/numb/biquadratic_spec.rb
|
377
|
+
- spec/numb/self_spec.rb
|
378
|
+
- spec/numb/square_spec.rb
|
379
|
+
- spec/numb/quarticfree_spec.rb
|
380
|
+
- spec/numb/untouchable_spec.rb
|
381
|
+
- spec/numb/ordinal_spec.rb
|
382
|
+
- spec/numb/perfect_spec.rb
|
383
|
+
- spec/numb/perfect_power_spec.rb
|
384
|
+
- spec/numb/factorial_spec.rb
|
385
|
+
- spec/numb/carmichael_spec.rb
|
386
|
+
- spec/numb/woodall_spec.rb
|
387
|
+
- spec/numb/abundancy_spec.rb
|
388
|
+
- spec/numb/polite_spec.rb
|
389
|
+
- spec/numb/unitary_amicable_spec.rb
|
390
|
+
- spec/numb/zerofree_spec.rb
|
391
|
+
- spec/numb/automorphic_spec.rb
|
392
|
+
- spec/numb/minimal_spec.rb
|
393
|
+
- spec/numb/jacobsthal_lucas_spec.rb
|
394
|
+
- spec/numb/hyperperfect_spec.rb
|
395
|
+
- spec/numb/zeisel_spec.rb
|
396
|
+
- spec/numb/smooth_spec.rb
|
397
|
+
- spec/numb/d_spec.rb
|
398
|
+
- spec/numb/heptagonal_spec.rb
|
399
|
+
- spec/numb/kynea_spec.rb
|
400
|
+
- spec/numb/sum_of_squares_spec.rb
|
401
|
+
- spec/numb/centered_n_gonal_spec.rb
|
402
|
+
- spec/numb/highly_abundant_spec.rb
|
403
|
+
- spec/numb/augmented_amicable_spec.rb
|
404
|
+
- spec/numb/rough_spec.rb
|
405
|
+
- spec/numb/nonhypotenuse_spec.rb
|
406
|
+
- spec/numb/emrip_spec.rb
|
407
|
+
- spec/numb/nth_prime_spec.rb
|
408
|
+
- spec/numb/poulet_spec.rb
|
409
|
+
- spec/numb/congruum_spec.rb
|
410
|
+
- spec/numb/safe_prime_spec.rb
|
411
|
+
- spec/numb/sublime_spec.rb
|
412
|
+
- spec/numb/refactorable_spec.rb
|
413
|
+
- spec/numb/smith_spec.rb
|
414
|
+
- spec/numb/unusual_spec.rb
|
415
|
+
- spec/numb/octagonal_spec.rb
|
416
|
+
- spec/numb/unitary_sociable_spec.rb
|
417
|
+
- spec/numb/vampire_spec.rb
|
418
|
+
- spec/numb/dodecagonal_spec.rb
|
419
|
+
- spec/numb/dihedral_prime_spec.rb
|
420
|
+
- spec/numb/breeder_spec.rb
|
421
|
+
- spec/numb/sphenic_spec.rb
|
422
|
+
- spec/numb/idoneal_spec.rb
|
423
|
+
- spec/numb/sum_of_unitary_divisors_spec.rb
|
424
|
+
- spec/numb/lucas_carmichael_spec.rb
|
425
|
+
- spec/numb/rhonda_spec.rb
|
426
|
+
- spec/numb/totient_spec.rb
|
427
|
+
- spec/numb/leyland_spec.rb
|
428
|
+
- spec/numb/mersenne_prime_spec.rb
|
429
|
+
- spec/numb/composite_spec.rb
|
430
|
+
- spec/numb/practical_spec.rb
|
431
|
+
- spec/numb/sophie_germain_prime_spec.rb
|
432
|
+
- spec/numb/parasitic_spec.rb
|
433
|
+
- spec/numb/friendly_spec.rb
|
434
|
+
- spec/numb/number_of_prime_factors_spec.rb
|
435
|
+
- spec/numb/repunit_spec.rb
|
436
|
+
- spec/numb/goldbach_spec.rb
|
437
|
+
- spec/numb/highly_composite_spec.rb
|
438
|
+
- spec/numb/frugal_spec.rb
|
439
|
+
- spec/numb/divides_spec.rb
|
440
|
+
- spec/numb/odious_spec.rb
|
441
|
+
- spec/numb/semiprime_spec.rb
|
442
|
+
- spec/numb/deficient_spec.rb
|
443
|
+
- spec/numb/almost_perfect_spec.rb
|
444
|
+
- spec/numb/amicable_spec.rb
|
445
|
+
- spec/numb/happy_spec.rb
|
446
|
+
- spec/numb/twin_prime_spec.rb
|
447
|
+
- spec/numb/hexagonal_spec.rb
|
448
|
+
- spec/numb/wieferich_prime_spec.rb
|
449
|
+
- spec/numb/fibonacci_spec.rb
|
450
|
+
- spec/numb/triangular_spec.rb
|
451
|
+
- spec/numb/integer_p_spec.rb
|
452
|
+
- spec/numb/semi_perfect_spec.rb
|
453
|
+
- spec/numb/pentagonal_spec.rb
|
454
|
+
- spec/numb/smarandache_wellin_spec.rb
|
455
|
+
- spec/numb/maris_mcgwire_sosa_pair_spec.rb
|
456
|
+
- spec/numb/core_spec.rb
|
457
|
+
- spec/numb/lucas_spec.rb
|
458
|
+
- spec/numb/k_perfect_spec.rb
|
459
|
+
- spec/numb/trimorphic_spec.rb
|
460
|
+
- spec/numb/evil_spec.rb
|
461
|
+
- spec/numb/harshad_spec.rb
|
462
|
+
- spec/numb/cube_spec.rb
|
463
|
+
- spec/numb/ore_spec.rb
|
464
|
+
- spec/numb/carol_spec.rb
|
465
|
+
- spec/numb/powerful_spec.rb
|
466
|
+
- spec/numb/prime_count_spec.rb
|
467
|
+
- spec/numb/weird_spec.rb
|
468
|
+
- spec/numb/interprime_spec.rb
|
469
|
+
- spec/numb/number_of_distinct_prime_factors_spec.rb
|
470
|
+
- spec/numb/balanced_prime_spec.rb
|
471
|
+
- spec/numb/binomial_spec.rb
|
472
|
+
- spec/numb/digital_sum_spec.rb
|
473
|
+
- spec/numb/brown_spec.rb
|
474
|
+
- spec/numb/factorion_spec.rb
|
475
|
+
- spec/numb/undulating_spec.rb
|
476
|
+
- spec/numb/extravagant_spec.rb
|
477
|
+
- spec/numb/self_descriptive_spec.rb
|
478
|
+
- spec/numb/decagonal_spec.rb
|
479
|
+
- spec/numb/apocalyptic_spec.rb
|
480
|
+
- spec/numb/kaprekar_spec.rb
|
481
|
+
- spec/numb/hilbert_spec.rb
|
482
|
+
- "spec/numb/st\xC3\xB8rmer_spec.rb"
|
483
|
+
- spec/numb/keith_spec.rb
|
484
|
+
- spec/numb/narcissistic_spec.rb
|
485
|
+
- spec/numb/myriagonal_spec.rb
|
486
|
+
- spec/numb/achilles_spec.rb
|
487
|
+
- spec/numb/coprime_spec.rb
|
488
|
+
- spec/numb/almost_prime_spec.rb
|
489
|
+
- spec/numb/pronic_spec.rb
|
490
|
+
- spec/numb/politeness_spec.rb
|
491
|
+
- spec/numb/noncototient_spec.rb
|
492
|
+
- spec/numb/aspiring_spec.rb
|
493
|
+
- spec/numb/mobius_spec.rb
|
494
|
+
- spec/numb/positive_spec.rb
|
495
|
+
- spec/numb/unhappy_spec.rb
|
393
496
|
- spec/spec_helper.rb
|
394
|
-
- spec/heptagonal_spec.rb
|
395
|
-
- spec/kynea_spec.rb
|
396
|
-
- spec/centered_n_gonal_spec.rb
|
397
|
-
- spec/highly_abundant_spec.rb
|
398
|
-
- spec/augmented_amicable_spec.rb
|
399
|
-
- spec/rough_spec.rb
|
400
|
-
- spec/emrip_spec.rb
|
401
|
-
- spec/nth_prime_spec.rb
|
402
|
-
- spec/poulet_spec.rb
|
403
|
-
- spec/congruum_spec.rb
|
404
|
-
- spec/sublime_spec.rb
|
405
|
-
- spec/refactorable_spec.rb
|
406
|
-
- spec/smith_spec.rb
|
407
|
-
- spec/octagonal_spec.rb
|
408
|
-
- spec/vampire_spec.rb
|
409
|
-
- spec/dodecagonal_spec.rb
|
410
|
-
- spec/dihedral_prime_spec.rb
|
411
|
-
- spec/breeder_spec.rb
|
412
|
-
- spec/sphenic_spec.rb
|
413
|
-
- spec/idoneal_spec.rb
|
414
|
-
- spec/sum_of_unitary_divisors_spec.rb
|
415
|
-
- spec/lucas_carmichael_spec.rb
|
416
|
-
- spec/rhonda_spec.rb
|
417
|
-
- spec/totient_spec.rb
|
418
|
-
- spec/leyland_spec.rb
|
419
|
-
- spec/mersenne_prime_spec.rb
|
420
|
-
- spec/composite_spec.rb
|
421
|
-
- spec/practical_spec.rb
|
422
|
-
- spec/sophie_germain_prime_spec.rb
|
423
|
-
- spec/parasitic_spec.rb
|
424
|
-
- spec/friendly_spec.rb
|
425
|
-
- spec/number_of_prime_factors_spec.rb
|
426
|
-
- spec/repunit_spec.rb
|
427
|
-
- spec/highly_composite_spec.rb
|
428
|
-
- spec/frugal_spec.rb
|
429
|
-
- spec/divides_spec.rb
|
430
|
-
- spec/odious_spec.rb
|
431
|
-
- spec/semiprime_spec.rb
|
432
|
-
- spec/deficient_spec.rb
|
433
|
-
- spec/almost_perfect_spec.rb
|
434
|
-
- spec/amicable_spec.rb
|
435
|
-
- spec/happy_spec.rb
|
436
|
-
- spec/twin_prime_spec.rb
|
437
|
-
- spec/hexagonal_spec.rb
|
438
|
-
- spec/wieferich_prime_spec.rb
|
439
|
-
- spec/fibonacci_spec.rb
|
440
|
-
- spec/triangular_spec.rb
|
441
|
-
- spec/integer_p_spec.rb
|
442
|
-
- spec/semi_perfect_spec.rb
|
443
|
-
- spec/pentagonal_spec.rb
|
444
|
-
- spec/smarandache_wellin_spec.rb
|
445
|
-
- spec/maris_mcgwire_sosa_pair_spec.rb
|
446
|
-
- spec/core_spec.rb
|
447
|
-
- spec/lucas_spec.rb
|
448
|
-
- spec/trimorphic_spec.rb
|
449
|
-
- spec/evil_spec.rb
|
450
|
-
- spec/harshad_spec.rb
|
451
|
-
- spec/cube_spec.rb
|
452
|
-
- spec/ore_spec.rb
|
453
|
-
- spec/carol_spec.rb
|
454
|
-
- spec/powerful_spec.rb
|
455
|
-
- spec/prime_count_spec.rb
|
456
|
-
- spec/weird_spec.rb
|
457
|
-
- spec/interprime_spec.rb
|
458
|
-
- spec/number_of_distinct_prime_factors_spec.rb
|
459
|
-
- spec/balanced_prime_spec.rb
|
460
|
-
- spec/binomial_spec.rb
|
461
|
-
- spec/digital_sum_spec.rb
|
462
|
-
- spec/brown_spec.rb
|
463
|
-
- spec/factorion_spec.rb
|
464
|
-
- spec/undulating_spec.rb
|
465
|
-
- spec/extravagant_spec.rb
|
466
|
-
- spec/self_descriptive_spec.rb
|
467
|
-
- spec/decagonal_spec.rb
|
468
|
-
- spec/apocalyptic_spec.rb
|
469
|
-
- spec/kaprekar_spec.rb
|
470
|
-
- spec/hilbert_spec.rb
|
471
|
-
- spec/keith_spec.rb
|
472
|
-
- spec/narcissistic_spec.rb
|
473
|
-
- spec/myriagonal_spec.rb
|
474
|
-
- spec/achilles_spec.rb
|
475
|
-
- spec/coprime_spec.rb
|
476
|
-
- spec/almost_prime_spec.rb
|
477
|
-
- spec/pronic_spec.rb
|
478
|
-
- spec/politeness_spec.rb
|
479
|
-
- spec/noncototient_spec.rb
|
480
|
-
- spec/aspiring_spec.rb
|
481
|
-
- spec/mobius_spec.rb
|
482
|
-
- spec/positive_spec.rb
|
483
|
-
- spec/unhappy_spec.rb
|
data/spec/01_spec.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require_relative 'spec_helper'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|