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-3 of 3 results.

A308983 Numbers n such that A308803(2n+1) = (2*10^n-1)(5*10^n+1).

Original entry on oeis.org

4, 15, 18, 20, 23, 29, 33, 34, 35, 36, 38, 39, 43, 48, 49, 50, 54, 56, 60, 62, 63, 66, 68, 69, 74, 75, 77, 78, 81, 83, 84, 86, 88, 89
Offset: 1

Views

Author

Chai Wah Wu, Sep 30 2019

Keywords

Comments

A308803(2n+1) >= (2*10^n-1)(5*10^n+1) for all n. This sequence lists the values of n where this lower bound is attained.

Crossrefs

Extensions

a(14)-a(34) from Chai Wah Wu, Oct 03 2019

A327897 a(n) is the largest palindromic number formed from two numbers with n digits multiplied together.

Original entry on oeis.org

9, 9009, 906609, 99000099, 9966006699, 999000000999, 99956644665999, 9999000000009999, 999900665566009999, 99999834000043899999, 9999994020000204999999, 999999000000000000999999, 99999963342000024336999999, 9999999000000000000009999999, 999999974180040040081479999999
Offset: 1

Views

Author

Christopher Shaw, Sep 29 2019

Keywords

Comments

No formula is known to the author.

Examples

			a(2) = 99 * 91 = 9009, a(3) = 993 * 913 = 906609.
		

Crossrefs

Cf. A308803.

Programs

  • Python
    def is_palindrome(n):
        if n<10: return True
        n = str(n)
        midpoint = int(len(n)/2)
        return n[:midpoint] == n[-midpoint:][::-1]
    def A327897(n):
        lower_bound = 10**(n-1) - 1
        upper_bound = 10**n - 1
        max_palindromes = (0,0,0)
        for n1 in range(upper_bound, lower_bound, -1):
            for n2 in range(n1, lower_bound, -1):
                n = n1* n2
                if is_palindrome(n) and n>max_palindromes[2]:
                    max_palindromes = (n1, n2, n)
                if n < max_palindromes[2]:
                    break
            if n1*n1 < max_palindromes[2]:
                break
        return max_palindromes
    if _name_ == '_main_':
        for n in range(1,7):
            print(A327897(n))

Formula

a(n) = A308803(2*n) for n > 1. - Andrew Howroyd, Sep 30 2019
a(2n) >= (10^(2n)-1)*(10^(2n)-10^n+1). - Chai Wah Wu, Sep 30 2019

Extensions

a(11) from Chai Wah Wu, Sep 30 2019
a(12) from David A. Corneth, Sep 30 2019
a(13)-a(15) from Giovanni Resta, Oct 04 2019

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-3 of 3 results.