proposed
approved
proposed
approved
editing
proposed
Chai Wah Wu, <a href="/A356809/b356809.txt">Table of n, a(n) for n = 1..472</a>
proposed
editing
editing
proposed
if any(map(lambda d:d[0]p&3==3 and d[1]e&1, for p, e in factorint(a).items())):
proposed
editing
editing
proposed
(Python)
from itertools import islice
from sympy import factorint
def A356809_gen(): # generator of terms
a, b = 1, 2
while True:
if any(map(lambda d:d[0]&3==3 and d[1]&1, factorint(a).items())):
yield a
a, b = b, a+b
A356809_list = list(islice(A356809_gen(), 30)) # Chai Wah Wu, Jan 10 2023
approved
editing
proposed
approved
editing
proposed
(PARI) is(n)=if(n%4==3, return(1)); my(f=factor(n)); for(i=1, #f~, if(f[i, 1]%4==3 && f[i, 2]%2, return(1))); 0; \\ A022544
lista(nn) = select(is, apply(fibonacci, [1..nn])); \\ Michel Marcus, Sep 04 2022
proposed
editing