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.

A337842 The smallest palindrome with exactly n circular loops (or holes) in its decimal representation.

Original entry on oeis.org

1, 0, 8, 606, 88, 808, 888, 68086, 8888, 88088, 88888, 6880886, 888888, 8880888, 8888888, 688808886, 88888888, 888808888, 888888888, 68888088886, 8888888888, 88888088888, 88888888888, 6888880888886, 888888888888, 8888880888888, 8888888888888, 688888808888886
Offset: 0

Views

Author

Bernard Schott, Sep 25 2020

Keywords

Comments

The decimal digits 1, 2, 3, 5, 7 have no hole, and 4 is represented without a hole; otherwise, 0, 6, 9 have one hole each and 8 has two holes.
Least palindrome q such that A064532(q) = n.
Except for a(0) = 1, each term has only digits 0, 6 or 8 in its decimal expansion.

Examples

			a(3) = 606 because 6 and 0 have each one circular loop for a total of 3.
		

Crossrefs

Cf. A331898 (similar for primes).

Programs

Formula

a(2m) = A002282(m) for m >= 1.
a(4m+1) = A332180(m) for m >= 1.
a(4m+3) = 6 * A000533(2m+2) + 10 * A332180(m) for m >= 0.

Extensions

More terms from Amiram Eldar, Sep 25 2020