cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A308803 a(n) is the largest n-digit palindrome that is the product of two numbers having an equal number of digits, or 0 if no such palindrome exists.

Original entry on oeis.org

9, 0, 999, 9009, 99999, 906609, 9999999, 99000099, 999969999, 9966006699, 99999999999, 999000000999, 9999998999999, 99956644665999, 999999999999999, 9999000000009999, 99999999799999999, 999900665566009999, 9999999997999999999, 99999834000043899999, 999999999999999999999, 9999994020000204999999, 99999999999899999999999
Offset: 1

Views

Author

Donghwi Park, May 06 2019

Keywords

Comments

From Chai Wah Wu, Sep 30 2019: (Start)
Note that the product decomposition satisfying the conditions is not necessarily unique. For instance, a(5) = 99999 = 369*271 = 123*813 and a(9) = 50001*19999 = 16667*59997.
When n is odd, a(n) in decimal are all 9's with the possible exception of the middle digit which can be 6,7,8 or 9, i.e. a(n) = 10^n-1-k*10^((n-1)/2) for some 0 <= k <= 3.
In particular, a(2m+1) >= (2*10^m-1)(5*10^m+1) = 10^(2m+1)-3*10^m-1. This inequality is an equality for m = 4, 15, 18, 20, 23, 29, 33, 34, 35.
See the "Decomposition of a(n) for odd n" file in the Links section for examples.
a(4m) >= (10^(2m)-1)(10^(2m)-10^m+1). The inequality is strict for m = 5. Is this a rare occurrence?
(End)
a(24) = 999999000001 * 999999999999 = 999999000000000000999999. - David A. Corneth, Sep 30 2019

Examples

			a(1)=9 because 3*3=9;
a(2)=0 because there is no such palindrome;
a(3)=999 because 27*37=999;
a(4)=9009 because 99*91=9009;
a(5)=99999 because 369*271=99999;
a(6)=906609 because 993*913=906609;
a(7)=9999999 because 2151*4649=9999999;
a(8)=99000099 because 9999*9901=99000099;
a(9)=999969999 because 50001*19999=999969999;
a(10)=9966006699 because 99979*99681=9966006699;
a(11)=99999999999 because 194841*513239=99999999999;
a(12)=999000000999 because 999999*999001=999000000999;
a(13)=9999998999999 because 2893921*3455519=9999998999999.
		

Crossrefs

Cf. A327897. Subsequence of A002113.

Extensions

a(14)-a(20) from Jon E. Schoenfield, May 10 2019
a(21) from Donghwi Park, Jul 16 2019
a(22)-a(23) from Chai Wah Wu, Sep 30 2019
a(20) corrected by Donghwi Park, Dec 18 2020

A327435 a(n) is the largest (2n+1)-digit palindrome that is the product of two numbers having an equal number of digits.

Original entry on oeis.org

9, 999, 99999, 9999999, 999969999, 99999999999, 9999998999999, 999999999999999, 99999999799999999, 9999999997999999999, 999999999999999999999, 99999999999899999999999, 9999999999999999999999999, 999999999999979999999999999, 99999999999999999999999999999, 9999999999999996999999999999999
Offset: 0

Views

Author

Chai Wah Wu, Oct 03 2019

Keywords

Comments

A308803 is the union of this sequence and A327897. This sequence lists the terms of odd indices of A308803 as they seem to be easier to compute than terms of even indices of A308803 (the sequence A327897).

Examples

			a(0)  = 9 = 3 * 3
a(1)  = 999 = 27 * 37
a(2)  = 99999 = 123 * 813
a(3)  = 9999999 = 2151 * 4649
a(4)  = 999969999 = 16667 * 59997
a(5)  = 99999999999 = 194841 * 513239
a(6)  = 9999998999999 = 2893921 * 3455519
a(7)  = 999999999999999 = 11099889 * 90090991
a(8)  = 99999999799999999 = 265412903 * 376771433
a(9)  = 9999999997999999999 = 2441330309 * 4096127411
a(10) = 999999999999999999999 = 19845575559 * 50389065161
a(11) = 99999999999899999999999 = 345867517613 * 289128047323
		

Crossrefs

Formula

a(n) = A308803(2n+1).
a(n) >= (2*10^n-1)(5*10^n+1) = 10^(2n+1)-3*10^n-1. If n is a term of A308983, then a(n) = 10^(2n+1)-3*10^n-1.
Showing 1-2 of 2 results.