OFFSET
1,1
LINKS
Derek Orr, Table of n, a(n) for n = 1..53
PROG
(Python)
for n in range(10**5):
..s, t = str(n), str(n+1)
..s2, t2 = str(n**2), str((n+1)**2)
..c = 0
..for i in s:
....if s2.count(i):
......c += 1
......break
..for j in t:
....if t2.count(j):
......c += 1
......break
..if not c:
....print(n, end=', ')
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Sep 25 2014
STATUS
approved