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!)
A046835 Internal digits of n^2 include digits of n as subsequence, n does not end in 0. 2
3628, 3792, 8882, 14651, 28792, 36574, 37026, 37028, 37073, 58808, 68323, 71213, 75884, 75887, 75888, 87073, 88526, 88796, 88808, 94682, 105125, 105153, 146308, 161574, 269622, 368323, 369255, 369482, 369863, 370137, 370156, 370162, 370178 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
From David A. Corneth, Aug 29 2023: (Start)
3628 is in the sequence as 3628^2 = 13162384 and so 3628 is in the internal digits; 1(3)1(6)(2)3(8)4, reading from left to right the digits in brackets are 3628 and all these digits are internal digits of 13162384.
1011 is NOT in the seuence as 1011^2 = 1022121 and so 1011 is in the digits;
(1)(0)22(1)2(1) but not all these digits are internal digits of 1022121. (End)
PROG
(Python)
from itertools import count, islice
def A046835_gen(startvalue=1): # generator of terms >= startvalue
for k in count(max(startvalue, 1)):
if k%10:
c = iter(str(k**2)[1:-1])
if all(map(lambda b:any(map(lambda a:a==b, c)), str(k))):
yield k
A046835_list = list(islice(A046835_gen(), 20)) # Chai Wah Wu, Apr 03 2023
CROSSREFS
Sequence in context: A329539 A329540 A223414 * A143930 A341264 A287219
KEYWORD
nonn,base
AUTHOR
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 March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)