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.

This page as a plain text file.
%I A038670 #16 Jul 11 2021 03:05:07
%S A038670 164,1441,1625,1961,2564,4841,12116,14449,16400,25625,46241,48464,
%T A038670 115625,116641,144100,148841,160025,162500,163844,169169,184964,
%U A038670 193636,196100,256400,361225,368649,466564,484100,493025,961009,973441
%N A038670 Concatenations of two squares in two ways.
%C A038670 Equals A192993 for terms < 40000000, see comment and b-file in A192993. - _Reinhard Zumkeller_, Jul 15 2011
%C A038670 Subsequence of A192993; A193095(a(n)) = 2. - _Reinhard Zumkeller_, Jul 17 2011
%e A038670 a(1) = 164 = concat(1^2,8^2) = concat(4^2, 2^2).
%o A038670 (Haskell)
%o A038670 import Data.List (elemIndices)
%o A038670 a038670 n = a038670_list !! (n-1)
%o A038670 a038670_list = elemIndices 2 $ map a193095 [0..]
%o A038670 -- _Reinhard Zumkeller_, Jul 17 2011
%K A038670 base,nonn
%O A038670 1,1
%A A038670 _David W. Wilson_