Some numbers that you can get when you reverse the digits and they are still prime numbers are:
403 ÷ 13 = 31
2,701 ÷ 37 = 73
1,207 ÷ 17 = 71
Since all of its digits are under 5, that number doesn't round up. You can round it wherever you want. 2, 2.1 and 2.13 are some possibilities.
-- The first and last digits can be 1-3, 2-4, ... 6-8, 7-9. Seven (7) possibilities. -- Or, they can be 9-7, 8-6 ... 3-1, 2-0. Eight (8) possibilities. -- Fifteen (15) possible sets of first and last digits. -- For each of those, the middle two digits can be anything from 00 to 99 ... 100 possibilities. -- Total number of 4-digit numbers that meet these specs = 15 x 100 = 1,500 .
Integers of 6 digits are normally greater than integers of 5 digits
The number 11 is prime and has two identical digits.
-- "The sum of a two-digit number" is unclear. I took it to mean"The sum of the digits of a two-digit number."-- "... the product ?" is unclear. Are you looking for the product of the two digits,or the product of the forward and backward numbers ?-- It's not possible to write a number whose two digits sum to 12 and whosereverse exceeds it by 25. The tens digit would have to be 4.611... and the unitsdigit would have to be 7.388... .Then(4.611...) + (7.388...) = 12(46.111...) + (7.388...) = 53.5(73.888...) + (4.611...) = 78.5Difference = 25So, the number can't be written, but ...The product of its two digits is 34.071 (rounded)The product of the forward and reverse numbers is 4,199.75 (rounded)
63
whats the answer please??
34.
You write the number and then follow it with the digits in reverse order.
38
For a 3 digit number, the left most or the most significant digit cannot be zero. So it can be 1,2,3,4,5,6,7,8 or 9 which is 9 possibilities. The middle number can be 0,1,2,3,4,5,6,7,8,9 which is 10 possibilties but one of the digits has been chosen already as the first digit, so the possibilities are only 9. The right most number can be 0,1,2,3,4,5,6,7,8,9 which is 10 possibilities but two of the digits have been already used by the left most and the middle digits. That leaves only 8 possibilities. So the total number of three digit numbers that have three distinct digits is 9 x 9 x 8 = 81 x 8 = 648 possibilities
you just carry the first number and add 5 to the second number
1-digit number: 5 possibilities 2-digits number: 5 x 5 = 25 possibilities So there are 30 numbers.
Your answer is, depending on the order of your subtraction, either positive or negative 198
If the digits can repeat, then there are 256 possible combinations. If they can't repeat, then there are 24 possibilities.
The number is 21978. 21978 when multiplied by 4 which gives the result 87912 which is in reverse order.
The most efficient method is to reverse the digits in the number and then check if the reversed number is equal to the original number. In C, we can implement this as follows (using long-hand notation for clarity). Note the use of base (defaulting to base 10) so that we can check values in other bases. bool is_palindrome (unsigned num, unsigned base = 10) { // local variables unsigned rev, digit, digits; // copy the input number digits = num; // initialise the accumulator rev = 0; // repeat while there are digits while (digits) { // extract the low-order digit using modulo (%) operator digit = digit % base; // shift the accumulated digits (if any) one position to the left rev = rev * base; // add on the new digit rev = rev + digit; // shift the remaining digits one position to the right digits = digits / base; } // end while // return true if the number and its reverse are equal return num == rev; }