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!)
A333410 a(n) is the smallest positive integer not yet appearing in the sequence such that n*a(n) contains n as a substring. 6
1, 6, 10, 11, 3, 16, 21, 23, 22, 31, 100, 26, 87, 51, 41, 73, 69, 66, 63, 36, 58, 101, 97, 52, 5, 102, 103, 46, 79, 61, 107, 76, 192, 151, 81, 38, 201, 89, 164, 35, 59, 34, 173, 126, 99, 184, 74, 135, 153, 7, 167, 176, 29, 251, 121, 28, 168, 148, 27, 56, 92, 123, 137, 57, 141, 207, 25, 113 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(2) = 6 as 6 has not appeared previously and 2 * 6 = 12 which contains '2' as a substring.
a(6) = 16 as 16 has not appeared previously and 6 * 16 = 96 which contains '6' as a substring.
a(7) = 21 as 21 has not appeared previously and 7 * 21 = 147 which contains '7' as a substring.
PROG
(PARI) See Links section.
(Python)
from itertools import count, islice
def agen(): # generator of terms
s, mink, aset, concat = 1, 2, {1}, "1"
yield from [1]
for n in count(2):
an, sn = mink, str(n)
while an in aset or not sn in str(n*an): an += 1
aset.add(an); s += an; concat += str(an); yield an
while mink in aset: mink += 1
print(list(islice(agen(), 68))) # Michael S. Branicky, Feb 08 2024
CROSSREFS
Sequence in context: A284238 A284302 A284350 * A107014 A206036 A349761
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Apr 11 2020
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 July 15 03:33 EDT 2024. Contains 374324 sequences. (Running on oeis4.)