Top "Factors" questions

A number a is a factor of a number b if a divides b exactly.

Convert string to respective data type ie. int or long (python3)

temp=input() l=list(map(int,temp.split())) count=0 for i in range (1,min(l[0],l[1])+1): if l[0]%i==0 and …

python-3.x int long-integer type-conversion factors
Method to find a factor of a number

I am trying to write a simple program that takes a non-prime number and returns the first factor of it. …

java if-statement methods primes factors
R: Make unique the duplicated levels in all factor columns in a data frame

For several days already I've been stuck with a problem in R, trying to make duplicate levels in multiple factor …

r dataframe duplicates factors levels
Finding largest prime number out of 600851475143?

I'm trying to solve problem 3 from http://projecteuler.net. However, when I run thing program nothing prints out. What am …

java primes prime-factoring factors factorization
R scatter plot with hexadecimal colors

I've got a CSV file with 3 columns, the X values, Y values, and their corresponding hexadecimal (#RRGGBB) values. I've been …

r colors hex factors