int originalNumber = 1; for (int multiple = originalNumber; multiple <= 10000; multiple += originalNumber) { // Use multiple however you want to }