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.

A082204 Begin with a 1, then place the smallest (as far as possible distinct) digits, such that, beginning from the n-th term, n terms form a palindrome.

Original entry on oeis.org

1, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2
Offset: 0

Views

Author

Amarnath Murthy, Apr 10 2003

Keywords

Examples

			The first six palindromes are 1, 22, 232, 3223, 22322, 232232.
		

Crossrefs

Essentially the same as A052901.

Programs

  • Mathematica
    Join[{1},LinearRecurrence[{0, 0, 1},{2, 2, 3},104]] (* Ray Chandler, Aug 25 2015 *)

Formula

a(1) = 1; for k > 0, a(3k-1) = a(3k) = 2; a(3k+1) = 3. - David Wasserman, Aug 19 2004

Extensions

More terms from David Wasserman, Aug 19 2004

A082205 Palindromes pertaining to A082204.

Original entry on oeis.org

1, 22, 232, 3223, 22322, 232232, 3223223, 22322322, 232232232, 3223223223, 22322322322, 232232232232, 3223223223223, 22322322322322, 232232232232232, 3223223223223223, 22322322322322322, 232232232232232232, 3223223223223223223
Offset: 1

Views

Author

Amarnath Murthy, Apr 10 2003

Keywords

Comments

Perhaps no digits other than 1,2 and 3 occur. From the second term onwards the periodic pattern of two 2's followed by a 3 holds.

Examples

			The first six palindromes are:  1, 22, 232, 3223,22322, 232232.
		

Crossrefs

Programs

  • Mathematica
    Join[{1},LinearRecurrence[{0, 0, 1001, 0, 0, -1000},{22, 232, 3223, 22322, 232232, 3223223},18]] (* Ray Chandler, Aug 25 2015 *)

Extensions

More terms from Joshua Zucker, May 08 2006
Showing 1-2 of 2 results.