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.
%I A247843 #19 May 22 2025 10:21:40 %S A247843 2,3,7,8,17,33,38,53,57,58,157,187,237,313,333,557,558,672,688,738, %T A247843 787,788,812,813,853,1557,2087,2107,2112,3112,3113,3157,3333,3357, %U A247843 3358,4453,4553,5598,5857,6672,6688,7017,7287,7772,7888,7908,8087,8337,15787,17157,18557,22112,32358 %N A247843 Consecutive exclusionary squares: Numbers n such that n^2 does not contain digits of n and (n+1)^2 does not contain digits of n+1. %H A247843 Derek Orr, <a href="/A247843/b247843.txt">Table of n, a(n) for n = 1..53</a> %o A247843 (Python) %o A247843 for n in range(10**5): %o A247843 s,t = str(n),str(n+1) %o A247843 s2,t2 = str(n**2),str((n+1)**2) %o A247843 c = 0 %o A247843 for i in s: %o A247843 if s2.count(i): %o A247843 c += 1 %o A247843 break %o A247843 for j in t: %o A247843 if t2.count(j): %o A247843 c += 1 %o A247843 break %o A247843 if not c: %o A247843 print(n,end=', ') %Y A247843 Cf. A029783. %K A247843 nonn,base %O A247843 1,1 %A A247843 _Derek Orr_, Sep 25 2014