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.

A038670 Concatenations of two squares in two ways.

Original entry on oeis.org

164, 1441, 1625, 1961, 2564, 4841, 12116, 14449, 16400, 25625, 46241, 48464, 115625, 116641, 144100, 148841, 160025, 162500, 163844, 169169, 184964, 193636, 196100, 256400, 361225, 368649, 466564, 484100, 493025, 961009, 973441
Offset: 1

Views

Author

Keywords

Comments

Equals A192993 for terms < 40000000, see comment and b-file in A192993. - Reinhard Zumkeller, Jul 15 2011
Subsequence of A192993; A193095(a(n)) = 2. - Reinhard Zumkeller, Jul 17 2011

Examples

			a(1) = 164 = concat(1^2,8^2) = concat(4^2, 2^2).
		

Programs

  • Haskell
    import Data.List (elemIndices)
    a038670 n = a038670_list !! (n-1)
    a038670_list = elemIndices 2 $ map a193095 [0..]
    -- Reinhard Zumkeller, Jul 17 2011