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!)
A354764 Squarefree kernel of A090252(n) (cf. A007947). 2
1, 2, 3, 5, 2, 7, 3, 11, 13, 17, 2, 19, 23, 5, 21, 29, 31, 37, 41, 43, 47, 53, 2, 59, 61, 67, 71, 73, 55, 79, 3, 7, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 26, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 85, 11, 223, 227, 57, 229, 161, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(Python)
from itertools import count, islice
from math import prod, gcd, lcm
from collections import deque
from sympy import primefactors
def A354764_gen(): # generator of terms
aset, aqueue, c, b, f = {1}, deque([1]), 2, 1, True
yield 1
while True:
for m in count(c):
if m not in aset and gcd(m, b) == 1:
yield prod(primefactors(m))
aset.add(m)
aqueue.append(m)
if f: aqueue.popleft()
b = lcm(*aqueue)
f = not f
while c in aset:
c += 1
break
A354764_list = list(islice(A354764_gen(), 20)) # Chai Wah Wu, Jun 18 2022
CROSSREFS
Sequence in context: A175723 A084346 A165911 * A096062 A176195 A231233
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 18 2022
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 May 3 17:26 EDT 2024. Contains 372222 sequences. (Running on oeis4.)