numb 0.138.0 → 0.152.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/VERSION +1 -1
  2. data/lib/numb/abundancy.rb +2 -0
  3. data/lib/numb/achain.rb +99 -0
  4. data/lib/numb/almost_perfect.rb +2 -0
  5. data/lib/numb/amicable.rb +2 -4
  6. data/lib/numb/delannoy.rb +1 -0
  7. data/lib/numb/fibonacci.rb +1 -1
  8. data/lib/numb/goldbach.rb +6 -1
  9. data/lib/numb/harshad.rb +3 -2
  10. data/lib/numb/highly_composite.rb +2 -0
  11. data/lib/numb/hoax.rb +7 -0
  12. data/lib/numb/idempotent.rb +6 -0
  13. data/lib/numb/infinitary_divisors.rb +15 -0
  14. data/lib/numb/infinitary_perfect.rb +6 -0
  15. data/lib/numb/integer_p.rb +1 -1
  16. data/lib/numb/knuth.rb +15 -0
  17. data/lib/numb/lah.rb +6 -0
  18. data/lib/numb/motzkin.rb +16 -0
  19. data/lib/numb/multiamicable.rb +7 -0
  20. data/lib/numb/m/303/251nage.rb +23 -0
  21. data/lib/numb/nexus.rb +7 -0
  22. data/lib/numb/nsw.rb +16 -0
  23. data/lib/numb/pandigital.rb +6 -0
  24. data/lib/numb/persistent.rb +6 -0
  25. data/lib/numb/prime_power.rb +6 -0
  26. data/lib/numb/pronic.rb +1 -0
  27. data/lib/numb/square.rb +2 -2
  28. data/lib/numb/sum_of_infinitary_divisors.rb +9 -0
  29. data/lib/numb/superabundant.rb +12 -2
  30. data/lib/numb/vampire.rb +6 -5
  31. data/lib/numb.rb +17 -0
  32. data/spec/numb/achain_spec.rb +39 -0
  33. data/spec/numb/fibonacci_spec.rb +1 -1
  34. data/spec/numb/hoax_spec.rb +21 -0
  35. data/spec/numb/idempotent_spec.rb +59 -0
  36. data/spec/numb/infinitary_divisors_spec.rb +57 -0
  37. data/spec/numb/infinitary_perfect_spec.rb +21 -0
  38. data/spec/numb/integer_p_spec.rb +4 -4
  39. data/spec/numb/knuth_spec.rb +29 -0
  40. data/spec/numb/lah_spec.rb +61 -0
  41. data/spec/numb/motzkin_spec.rb +30 -0
  42. data/spec/numb/multiamicable_spec.rb +26 -0
  43. data/spec/numb/m/303/251nage_spec.rb +31 -0
  44. data/spec/numb/nexus_spec.rb +42 -0
  45. data/spec/numb/nsw_spec.rb +32 -0
  46. data/spec/numb/pandigital_spec.rb +29 -0
  47. data/spec/numb/persistent_spec.rb +44 -0
  48. data/spec/numb/prime_power_spec.rb +66 -0
  49. data/spec/numb/rough_spec.rb +37 -37
  50. data/spec/numb/square_spec.rb +16 -12
  51. data/spec/numb/sum_of_infinitary_divisors_spec.rb +15 -0
  52. data/spec/numb/superabundant_spec.rb +7 -7
  53. data/spec/numb/vampire_spec.rb +11 -11
  54. data/spec/spec_helper.rb +1 -1
  55. metadata +50 -2
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.138.0
4
+ version: 0.152.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-03-18 00:00:00 +00:00
12
+ date: 2010-03-21 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -42,6 +42,7 @@ files:
42
42
  - lib/numb/aban.rb
43
43
  - lib/numb/abundancy.rb
44
44
  - lib/numb/abundant.rb
45
+ - lib/numb/achain.rb
45
46
  - lib/numb/achilles.rb
46
47
  - lib/numb/aliquot_sequence.rb
47
48
  - lib/numb/almost_perfect.rb
@@ -123,10 +124,14 @@ files:
123
124
  - lib/numb/highly_abundant.rb
124
125
  - lib/numb/highly_composite.rb
125
126
  - lib/numb/hilbert.rb
127
+ - lib/numb/hoax.rb
126
128
  - lib/numb/hyperperfect.rb
127
129
  - lib/numb/iban.rb
130
+ - lib/numb/idempotent.rb
128
131
  - lib/numb/idoneal.rb
129
132
  - lib/numb/impolite.rb
133
+ - lib/numb/infinitary_divisors.rb
134
+ - lib/numb/infinitary_perfect.rb
130
135
  - lib/numb/integer_p.rb
131
136
  - lib/numb/interprime.rb
132
137
  - lib/numb/jacobsthal_lucas.rb
@@ -134,7 +139,9 @@ files:
134
139
  - lib/numb/kaprekar.rb
135
140
  - lib/numb/keith.rb
136
141
  - lib/numb/knodel.rb
142
+ - lib/numb/knuth.rb
137
143
  - lib/numb/kynea.rb
144
+ - lib/numb/lah.rb
138
145
  - lib/numb/leonardo.rb
139
146
  - lib/numb/leyland.rb
140
147
  - lib/numb/lucas.rb
@@ -146,14 +153,19 @@ files:
146
153
  - lib/numb/mms_pair.rb
147
154
  - lib/numb/mobius.rb
148
155
  - lib/numb/modulo_order.rb
156
+ - lib/numb/motzkin.rb
157
+ - lib/numb/multiamicable.rb
149
158
  - lib/numb/myriagonal.rb
159
+ - "lib/numb/m\xC3\xA9nage.rb"
150
160
  - lib/numb/n_gonal.rb
151
161
  - lib/numb/n_step_fibonacci.rb
152
162
  - lib/numb/narcissistic.rb
153
163
  - lib/numb/next_prev_prime.rb
164
+ - lib/numb/nexus.rb
154
165
  - lib/numb/nivenmorphic.rb
155
166
  - lib/numb/noncototient.rb
156
167
  - lib/numb/nonhypotenuse.rb
168
+ - lib/numb/nsw.rb
157
169
  - lib/numb/nth_prime.rb
158
170
  - lib/numb/number_of_divisors.rb
159
171
  - lib/numb/oban.rb
@@ -161,11 +173,13 @@ files:
161
173
  - lib/numb/odious.rb
162
174
  - lib/numb/ordinal.rb
163
175
  - lib/numb/ore.rb
176
+ - lib/numb/pandigital.rb
164
177
  - lib/numb/parasitic.rb
165
178
  - lib/numb/pentagonal.rb
166
179
  - lib/numb/perfect.rb
167
180
  - lib/numb/perfect_power.rb
168
181
  - lib/numb/perrin.rb
182
+ - lib/numb/persistent.rb
169
183
  - lib/numb/polite.rb
170
184
  - lib/numb/polydivisible.rb
171
185
  - lib/numb/positive.rb
@@ -173,6 +187,7 @@ files:
173
187
  - lib/numb/powerful.rb
174
188
  - lib/numb/practical.rb
175
189
  - lib/numb/prime_count.rb
190
+ - lib/numb/prime_power.rb
176
191
  - lib/numb/prime_signature.rb
177
192
  - lib/numb/primitive_pseudoperfect.rb
178
193
  - lib/numb/primitive_root.rb
@@ -208,6 +223,7 @@ files:
208
223
  - lib/numb/subfactorial.rb
209
224
  - lib/numb/sublime.rb
210
225
  - lib/numb/sum_of_e_divisors.rb
226
+ - lib/numb/sum_of_infinitary_divisors.rb
211
227
  - lib/numb/sum_of_squares.rb
212
228
  - lib/numb/sum_of_unitary_divisors.rb
213
229
  - lib/numb/super_poulet.rb
@@ -236,6 +252,7 @@ files:
236
252
  - spec/numb/aban_spec.rb
237
253
  - spec/numb/abundancy_spec.rb
238
254
  - spec/numb/abundant_spec.rb
255
+ - spec/numb/achain_spec.rb
239
256
  - spec/numb/achilles_spec.rb
240
257
  - spec/numb/almost_perfect_spec.rb
241
258
  - spec/numb/almost_prime_spec.rb
@@ -316,9 +333,13 @@ files:
316
333
  - spec/numb/highly_abundant_spec.rb
317
334
  - spec/numb/highly_composite_spec.rb
318
335
  - spec/numb/hilbert_spec.rb
336
+ - spec/numb/hoax_spec.rb
319
337
  - spec/numb/hyperperfect_spec.rb
320
338
  - spec/numb/iban_spec.rb
339
+ - spec/numb/idempotent_spec.rb
321
340
  - spec/numb/idoneal_spec.rb
341
+ - spec/numb/infinitary_divisors_spec.rb
342
+ - spec/numb/infinitary_perfect_spec.rb
322
343
  - spec/numb/integer_p_spec.rb
323
344
  - spec/numb/interprime_spec.rb
324
345
  - spec/numb/isqrt_spec.rb
@@ -327,7 +348,9 @@ files:
327
348
  - spec/numb/kaprekar_spec.rb
328
349
  - spec/numb/keith_spec.rb
329
350
  - spec/numb/knodel_spec.rb
351
+ - spec/numb/knuth_spec.rb
330
352
  - spec/numb/kynea_spec.rb
353
+ - spec/numb/lah_spec.rb
331
354
  - spec/numb/leonardo_spec.rb
332
355
  - spec/numb/leyland_spec.rb
333
356
  - spec/numb/lucas_carmichael_spec.rb
@@ -339,12 +362,17 @@ files:
339
362
  - spec/numb/minimal_spec.rb
340
363
  - spec/numb/mobius_spec.rb
341
364
  - spec/numb/modulo_order_spec.rb
365
+ - spec/numb/motzkin_spec.rb
366
+ - spec/numb/multiamicable_spec.rb
342
367
  - spec/numb/myriagonal_spec.rb
368
+ - "spec/numb/m\xC3\xA9nage_spec.rb"
343
369
  - spec/numb/n_step_fibonacci_spec.rb
344
370
  - spec/numb/narcissistic_spec.rb
371
+ - spec/numb/nexus_spec.rb
345
372
  - spec/numb/nivenmorphic_spec.rb
346
373
  - spec/numb/noncototient_spec.rb
347
374
  - spec/numb/nonhypotenuse_spec.rb
375
+ - spec/numb/nsw_spec.rb
348
376
  - spec/numb/nth_prime_spec.rb
349
377
  - spec/numb/number_of_distinct_prime_factors_spec.rb
350
378
  - spec/numb/number_of_prime_factors_spec.rb
@@ -353,11 +381,13 @@ files:
353
381
  - spec/numb/odious_spec.rb
354
382
  - spec/numb/ordinal_spec.rb
355
383
  - spec/numb/ore_spec.rb
384
+ - spec/numb/pandigital_spec.rb
356
385
  - spec/numb/parasitic_spec.rb
357
386
  - spec/numb/pentagonal_spec.rb
358
387
  - spec/numb/perfect_power_spec.rb
359
388
  - spec/numb/perfect_spec.rb
360
389
  - spec/numb/perrin_spec.rb
390
+ - spec/numb/persistent_spec.rb
361
391
  - spec/numb/polite_spec.rb
362
392
  - spec/numb/politeness_spec.rb
363
393
  - spec/numb/polydivisible_spec.rb
@@ -366,6 +396,7 @@ files:
366
396
  - spec/numb/powerful_spec.rb
367
397
  - spec/numb/practical_spec.rb
368
398
  - spec/numb/prime_count_spec.rb
399
+ - spec/numb/prime_power_spec.rb
369
400
  - spec/numb/prime_signature_spec.rb
370
401
  - spec/numb/primitive_pseudoperfect_spec.rb
371
402
  - spec/numb/primitive_root_spec.rb
@@ -400,6 +431,7 @@ files:
400
431
  - spec/numb/subfactorial_spec.rb
401
432
  - spec/numb/sublime_spec.rb
402
433
  - spec/numb/sum_of_e_divisors_spec.rb
434
+ - spec/numb/sum_of_infinitary_divisors_spec.rb
403
435
  - spec/numb/sum_of_squares_spec.rb
404
436
  - spec/numb/sum_of_unitary_divisors_spec.rb
405
437
  - spec/numb/super_poulet_spec.rb
@@ -468,12 +500,14 @@ test_files:
468
500
  - spec/numb/polydivisible_spec.rb
469
501
  - spec/numb/choose_spec.rb
470
502
  - spec/numb/n_step_fibonacci_spec.rb
503
+ - spec/numb/sum_of_infinitary_divisors_spec.rb
471
504
  - spec/numb/strictly_non_palindromic_spec.rb
472
505
  - spec/numb/gnomonic_spec.rb
473
506
  - spec/numb/cyclic_spec.rb
474
507
  - spec/numb/iban_spec.rb
475
508
  - spec/numb/equidigital_spec.rb
476
509
  - spec/numb/primorial_spec.rb
510
+ - spec/numb/prime_power_spec.rb
477
511
  - spec/numb/superabundant_spec.rb
478
512
  - spec/numb/modulo_order_spec.rb
479
513
  - spec/numb/sociable_spec.rb
@@ -488,6 +522,7 @@ test_files:
488
522
  - spec/numb/superperfect_spec.rb
489
523
  - spec/numb/biquadratic_spec.rb
490
524
  - spec/numb/self_spec.rb
525
+ - spec/numb/pandigital_spec.rb
491
526
  - spec/numb/square_spec.rb
492
527
  - spec/numb/quarticfree_spec.rb
493
528
  - spec/numb/untouchable_spec.rb
@@ -496,6 +531,7 @@ test_files:
496
531
  - spec/numb/perfect_power_spec.rb
497
532
  - spec/numb/factorial_spec.rb
498
533
  - spec/numb/centered_cube_spec.rb
534
+ - "spec/numb/m\xC3\xA9nage_spec.rb"
499
535
  - spec/numb/carmichael_spec.rb
500
536
  - spec/numb/woodall_spec.rb
501
537
  - spec/numb/abundancy_spec.rb
@@ -503,6 +539,7 @@ test_files:
503
539
  - spec/numb/polite_spec.rb
504
540
  - spec/numb/unitary_amicable_spec.rb
505
541
  - spec/numb/squared_triangular_spec.rb
542
+ - spec/numb/persistent_spec.rb
506
543
  - spec/numb/cullen_spec.rb
507
544
  - spec/numb/zerofree_spec.rb
508
545
  - spec/numb/eban_spec.rb
@@ -514,6 +551,7 @@ test_files:
514
551
  - spec/numb/hyperperfect_spec.rb
515
552
  - spec/numb/uban_spec.rb
516
553
  - spec/numb/zeisel_spec.rb
554
+ - spec/numb/motzkin_spec.rb
517
555
  - spec/numb/primitive_roots_spec.rb
518
556
  - spec/numb/smooth_spec.rb
519
557
  - spec/numb/d_spec.rb
@@ -528,6 +566,8 @@ test_files:
528
566
  - spec/numb/rough_spec.rb
529
567
  - spec/numb/nonhypotenuse_spec.rb
530
568
  - spec/numb/emrip_spec.rb
569
+ - spec/numb/idempotent_spec.rb
570
+ - spec/numb/nexus_spec.rb
531
571
  - spec/numb/nth_prime_spec.rb
532
572
  - spec/numb/poulet_spec.rb
533
573
  - spec/numb/congruum_spec.rb
@@ -541,7 +581,9 @@ test_files:
541
581
  - spec/numb/betrothed_spec.rb
542
582
  - spec/numb/smith_spec.rb
543
583
  - spec/numb/unusual_spec.rb
584
+ - spec/numb/hoax_spec.rb
544
585
  - spec/numb/octagonal_spec.rb
586
+ - spec/numb/knuth_spec.rb
545
587
  - spec/numb/entringer_spec.rb
546
588
  - spec/numb/unitary_sociable_spec.rb
547
589
  - spec/numb/full_reptend_prime_spec.rb
@@ -583,11 +625,13 @@ test_files:
583
625
  - spec/numb/happy_spec.rb
584
626
  - spec/numb/twin_prime_spec.rb
585
627
  - spec/numb/hexagonal_spec.rb
628
+ - spec/numb/nsw_spec.rb
586
629
  - spec/numb/genocchi_spec.rb
587
630
  - spec/numb/wieferich_prime_spec.rb
588
631
  - spec/numb/fibonacci_spec.rb
589
632
  - spec/numb/triangular_spec.rb
590
633
  - spec/numb/integer_p_spec.rb
634
+ - spec/numb/infinitary_perfect_spec.rb
591
635
  - spec/numb/semi_perfect_spec.rb
592
636
  - spec/numb/pentagonal_spec.rb
593
637
  - spec/numb/blum_spec.rb
@@ -602,6 +646,7 @@ test_files:
602
646
  - spec/numb/harshad_spec.rb
603
647
  - spec/numb/cube_spec.rb
604
648
  - spec/numb/ore_spec.rb
649
+ - spec/numb/achain_spec.rb
605
650
  - spec/numb/delannoy_spec.rb
606
651
  - spec/numb/carol_spec.rb
607
652
  - spec/numb/powerful_spec.rb
@@ -618,9 +663,11 @@ test_files:
618
663
  - spec/numb/perrin_spec.rb
619
664
  - spec/numb/beastly_spec.rb
620
665
  - spec/numb/franel_spec.rb
666
+ - spec/numb/multiamicable_spec.rb
621
667
  - spec/numb/super_poulet_spec.rb
622
668
  - spec/numb/sum_of_e_divisors_spec.rb
623
669
  - spec/numb/factorion_spec.rb
670
+ - spec/numb/lah_spec.rb
624
671
  - spec/numb/undulating_spec.rb
625
672
  - spec/numb/extravagant_spec.rb
626
673
  - spec/numb/lychrel_spec.rb
@@ -639,6 +686,7 @@ test_files:
639
686
  - spec/numb/oban_spec.rb
640
687
  - spec/numb/achilles_spec.rb
641
688
  - spec/numb/coprime_spec.rb
689
+ - spec/numb/infinitary_divisors_spec.rb
642
690
  - spec/numb/almost_prime_spec.rb
643
691
  - spec/numb/singly_even_spec.rb
644
692
  - spec/numb/pronic_spec.rb