Write a program in java without using array to check for a keith number.ex- 14,197 etc
for example- 14
1+4=5
4+5=9
5+9=14
It is keith number.
Answers
Answered by
0
MARK IT BRAINLIEST ANSWER
Write a Program in Java to check whether a number is a Keith Number or not.
In recreational mathematics, a Keith number or repfigit number (short for repetitive Fibonacci-like digit) is a number in the following integer sequence:
14, 19, 28, 47, 61, 75, 197, 742, 1104, 1537, 2208, 2580, 3684, 4788, 7385, 7647, 7909, 31331, 34285, 34348, 55604, 62662, 86935, 93993, 120284, 129106, 147640, 156146, 174680, 183186, 298320, 355419, 694280, 925993,
Test Data
Input a number: 75
Write a Program in Java to check whether a number is a Keith Number or not.
In recreational mathematics, a Keith number or repfigit number (short for repetitive Fibonacci-like digit) is a number in the following integer sequence:
14, 19, 28, 47, 61, 75, 197, 742, 1104, 1537, 2208, 2580, 3684, 4788, 7385, 7647, 7909, 31331, 34285, 34348, 55604, 62662, 86935, 93993, 120284, 129106, 147640, 156146, 174680, 183186, 298320, 355419, 694280, 925993,
Test Data
Input a number: 75
amannishad0512p5zxh6:
Get lost
Answered by
3
Answer:
Here it is BUT DONE WITH THE HELP OF STRING CONVERSION.
PLEASE IF YOU LIKED IT CHOOSE BRAINLIEST OR REPORT IT AS IMPROPER ANSWER
Attachments:
Similar questions