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.

A232501 Numbers k such that distances from k to three nearest squares are three triangular numbers.

This page as a plain text file.
%I A232501 #19 Mar 17 2014 20:17:15
%S A232501 1,10,15,19,26,197,253,325,631,1090,1522,2395,3601,4434,4625,6571,
%T A232501 9026,11026,11116,14631,15454,19045,22501,35722,38431,41210,53036,
%U A232501 61505,65521,66239,69697,69949,70291,85384,99226,110890,152101,152803,160021,168101,181801,189631
%N A232501 Numbers k such that distances from k to three nearest squares are three triangular numbers.
%H A232501 Reinhard Zumkeller, <a href="/A232501/b232501.txt">Table of n, a(n) for n = 1..250</a>
%o A232501 (Haskell)
%o A232501 import Data.List (sort)
%o A232501 a232501 n = a232501_list !! (n-1)
%o A232501 a232501_list = filter f [1..] where
%o A232501    f x = all ((== 1) . a010054) $ init $ sort $
%o A232501          map (abs . (x -) . (^ 2) . (+ (a000196 x))) [-1..2]
%o A232501 -- _Reinhard Zumkeller_, Mar 16 2014
%Y A232501 Cf. A000217, A000290, A234335.
%Y A232501 Cf. A232608 (terms that are triangular numbers).
%Y A232501 Cf. A000196, A010054, A048760, A048761.
%K A232501 nonn
%O A232501 1,2
%A A232501 _Alex Ratushnyak_, Feb 23 2014