Let the reverse of a positive integer , denoted be the result when the digits of the number are written backwards; for example, or just
Call a positive integer brilliant if
is a multiple of 13. Let be the th brilliant number. Compute the last three digits of
Given a positive integer ), we start from either left or right i.e. we start removing its digits one by one from left to right, or from right to left.
We define a set of the number, which is obtained by noting the number formed after eating every digit (The original number is also included) .
The of a number is sum of all numbers in that number's dish.
What is the smallest non-palindromic number which when eaten from left gives same taste as eating from right?
Details and Assumptions:
The dish of a number can be obtained in 2 ways, either eating from left or eating from right and hence there'll be 2 tastes for each number (maybe the same, that's where you count the number!)
Example of a dish, dish of the number 12635 as eaten from left will be and its dish when eaten from right will be
Taste of the number 123 will be from left and it will be from right.
A non-palindromic number is the one which is not the same when read from left or from right, e.g. are some examples of palindromic numbers, whereas are some non-palindromic numbers.
A palindromic-prime or PalPrime is a prime number that is also a palindrome.The first few PalPrimes are . Let be the sum of the digits of the largest PalPrime such that .What is the value of ?