A339676 Nonpalindromic numbers that are products of repunits.
161051, 1490841, 1625151, 1771561, 14921841, 15043941, 16266151, 16399251, 17876661, 19487171, 137009631, 149231841, 149352841, 150574941, 151807041, 162676151, 164140251, 165483351, 178927661, 180391761, 196643271, 214358881, 1370219631, 1371330631, 1492331841
Offset: 1
Examples
a(1) = 161051 = 11^5. a(2) = 1490841 = 11^2 * 111^2. a(3) = 1625151 = 11^4 * 111. a(4) = 1771561 = 11^6. a(5) = 14921841 = 11^2 * 111 * 1111.
Links
- David A. Corneth, Table of n, a(n) for n = 1..10000
- Gustavus J. Simmons, Palindromic Powers, J. Rec. Math., 3 (No. 2, 1970), 93-98 [Annotated scanned copy].
Programs
-
Mathematica
vec[max_] := Module[{m = Floor @ Log10[9*max + 1], r, s = {1}, s1}, r = (10^Range[2, m] - 1)/9; Do[emax = Floor@Log[r[[k]], max]; s1 = r[[k]]^Range[0, emax]; s = Select[Union[Flatten[Outer[Times, s, s1]]], # <= max &], {k, 1, m - 1}]; s]; Select[vec[1.5*10^9], !PalindromeQ[#] &] (* Amiram Eldar, Dec 12 2020 *)
Comments