May
10
Strictly non-palindromic number
Filed Under Uncategorized |
A strictly non-palindromic number is an integer n that is not palindromic in any numeral system with a base b in the range 2 ≤ b ≤ n − 2. For example, the number six is written as 110 in base 2, 20 in base 3 and 12 in base 4, none of which is a palindrome—so 6 is strictly non-palindromic.
The sequence of strictly non-palindromic numbers starts:
- 1, 2, 3, 4, 6, 11, 19, 47, 53, 79, 103, 137, 139, 149, 163, 167, 179, 223, 263, 269, 283, 293, …
To test whether a number n is strictly non-palindromic, it must be verified that n is non-palindromic in all bases up to n − 2. The reasons for this upper limit are:
- any n ≥ 3 is written 11 in base n − 1, so n is palindromic in base n − 1;
- any n ≥ 2 is written 10 in base n, so any n is non-palindromic in base n;
- any n ≥ 1 is a single-digit number in any base b > n, so any n is palindromic in all such bases.
Thus it can be seen that the upper limit of n − 2 is necessary to obtain a mathematically ‘interesting’ definition.
For n < 4 the range of bases is empty, so these numbers are strictly non-palindromic in a trivial way.
Properties
All strictly non-palindromic numbers beyond 6 are prime. To see why composite n > 6 cannot be strictly non-palindromic, for each such n a base b must be shown to exist where n is palindromic.
- If n is even, then n is written 22 (a palindrome) in base b = n/2 − 1.
Otherwise n is odd. Write n = p · m, where p is the smallest odd prime factor of n. Then clearly p ≤ m.
- If p = m = 3, then n = 9 is written 1001 (a palindrome) in base b = 2.
- If p = m > 3, then n is written 121 (a palindrome) in base b = p − 1.
Otherwise p < m − 1. The case p = m − 1 cannot occur because both p and m are odd.
- Then n is written pp (the two-digit number with each digit equal to p, a palindrome) in base b = m − 1.
The reader can easily verify that in each case (1) the base b is in the range 2 ≤ b ≤ n − 2, and (2) the digits ai of each palindrome are in the range 0 ≤ ai < b, given that n > 6. These conditions may fail if n ≤ 6, which explains why the non-prime numbers 1, 4 and 6 are strictly non-palindromic nevertheless.
Therefore, all strictly non-palindromic n > 6 are prime.
References
- Sequence A016038 from the On-Line Encyclopedia of Integer Sequences
- Remounting Smart Base - Sawmill Creek I would return the saw but the base is pretty messed up visually from removing adhesive from a tape mounting of the Smart Base. I figure that the werticle
- Czech answer to the US radar base: Yes | but | ABC Prague The Civic Democratic Party and the Christian and Democratic Union are in favour of the base, but the Green Party emphasizes the necessity to integrate it to
- completely off base- but anyone here in Pharmaceutical Sales? completely off base- but anyone here in Pharmaceutical Sales? Anyone here working for a big pharma company in sales dept? Wed. Aug 30, 11:31am
- Re: issue-base-param from Chimezie Ogbuji on 2007-04-17 (public As XSLT 1.0 transforms they are not *required* to respect xml:base, but they do have to respect an application-provided notion of the "base URI of the
- Apple AirPort Extreme base station wireless access point Wireless If you're planning to create a new Wireless-G network, Apple's base station will suffice, but we suggest you wait until the standard matures.
- World Association of International Studies » Blog Archive » UFOs Marcel put the strange wreckage in his car and drove it back to the base. But on the way, he stopped home and showed his wife and 11-year-old son,
- Amazon.com: Customer Reviews: Graco SnugRide Infant Car Seat Base If you have a latch car it is safer to use the latch system and the base - but the carseat can also be seatbelted in just like in the nonlatch cars.
- REVERE MEMORIAL LET GO.; Money for Flagstaff Base, but No Site Money for Flagstaff Base, but No Site Provided. Special to The New York Times. TRENTON, N.J., Sept. 9. — Descendants of historic Paul Revere are involved
- Man Attacks Guards At U.S. Base - On Terror Watch List But Not A Tahmeed Ahmad was on the federal terrorist watch list, attacked guards at a US military base shouting Death To America and wielding 2 butcher knives and
- Nessoft Knowledge Base - But I hear that traceroute (and These statements have enough truth in them to cause a lot of users to leave a network administrator alone, but are targeted to do this - drive an end user
- Stat of the Day » Getting On BaseBut, Not Really Getting On Base…But, Not Really. Filed under: Season Finders — Steve Lombardi @ 2:58 pm. Just having some fun with Baseball-Reference.com’s Play Index
- Hanzi Smatter 一知半解: Nike's "Extinguish Fire But With Base" When I first read the slogan in the image above, it said "extinguish fire but with base". After I read it over several times more, then I realized it was