ROSECODE 424
Vampire Numbers
A vampire number is a 2k-digits number such as there exist two k-digits numbers and such as:
-
- the digits of and are exactly the digits of
Example:
The two factors and are called, quite logically, the fangs.
Find the first and last 10-digits vampire numbers not containing the digit 0 with prime fangs.
Anwer format:
Example : 11722657,79168819 (for 8 digits)
[My timing: 82 sec]
Hint:
The first digits of are
-
- the digits of
Example:
The two factors
Find the first and last 10-digits vampire numbers not containing the digit 0 with prime fangs.
Anwer format:
Example : 11722657,79168819 (for 8 digits)
[My timing: 82 sec]
Hint:
The first digits of