//recites the fibonacci sequence and points out primes as p, important to finding the significance of a number.
import java.util.*;// Java Program to Find factors of a number using For Loop Tut Gate
public class FactsOfNum{public static void main(String[] args) {
Scanner scan=new Scanner(System.in);int Num=4;int i=1;int n=0;
System.out.println("Please Enter any number to Find Factors: ");Num=scan.nextInt();
for(i = 1; i <= Num; i++){if(Num%i == 0) {System.out.format(" %d ", i);}}}}// 89 233 377 987 1597 4181 17711 28657 121393 317811 514229 1346269 2178309 5702887
// p p p p p p
YOU ARE READING
My Prog Adventures
SpiritualI am also a programmer. I have been intending to post some of my scripts on here. I can teach math and programming, please reach out to me in conversations, my messages on here isnt working.