Class NumerosPrimos


  • public class NumerosPrimos
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      NumerosPrimos()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.Integer> darPrimos​(int inicio, int fin)  
      static boolean esPrimo​(long n)  
      static java.util.List<java.lang.Integer> factoresPrimos​(int n)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumerosPrimos

        public NumerosPrimos()
    • Method Detail

      • esPrimo

        public static boolean esPrimo​(long n)
      • darPrimos

        public static java.util.List<java.lang.Integer> darPrimos​(int inicio,
                                                                  int fin)
      • factoresPrimos

        public static java.util.List<java.lang.Integer> factoresPrimos​(int n)