login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. 1
2, 3, 7, 8, 17, 33, 38, 53, 57, 58, 157, 187, 237, 313, 333, 557, 558, 672, 688, 738, 787, 788, 812, 813, 853, 1557, 2087, 2107, 2112, 3112, 3113, 3157, 3333, 3357, 3358, 4453, 4553, 5598, 5857, 6672, 6688, 7017, 7287, 7772, 7888, 7908, 8087, 8337, 15787, 17157, 18557, 22112, 32358 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Cf. A029783.
Sequence in context: A060121 A002964 A166966 * A181658 A251541 A325105
KEYWORD
nonn,base
AUTHOR
Derek Orr, Sep 25 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)