15 638 can be made with 1 ten, 5 ones, 6 hundreds, 3 tens, and 8 ones; 1 ten, 8 ones, 6 hundreds, 3 tens, and 5 ones; or 6 ones, 5 hundreds, 3 tens, 8 ones, and 1 ten.
5 + 200 = 502
In 5420, you have:5 x thousand; 4 x hundred; 2 x tens; zero x ones (the American ones in math is known as units in British maths!).
There is no four digit number where the ones is twice the tens, the hundreds is five less than the ones, and the thousands is the sum of the tens and hundreds. int ones, tens, hundreds, thousands; for (thousands=1; thousands<10; thousands++) { /**/ for (hundreds=0; hundreds<10; hundreds++) { /**/ /**/ for (tens=0; tens<10; tens++) { /**/ /**/ /**/ for (ones=0; ones<10; ones++) { /**/ /**/ /**/ /**/ if (ones != 2 * tens) break; /**/ /**/ /**/ /**/ if (hundreds != ones - 5) break; /**/ /**/ /**/ /**/ if (thousands != tens + hundreds) break; /**/ /**/ /**/ /**/ printf ("dd\n", thousands, hundreds, tens, ones); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
465 is.
ones 5 hundreds is 7 hundreds, thanks now, bye
2 ones and 5 hundreds = 502 2 ones and 5 hundredths = 2.05
700 ones = 7 hundreds
254 - has 2 hundreds, 5 tens, and 4 ones
530?
512
205
503
9
632
668
5123