OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..7923
Hajrudin Fejzić, Nontrivial Solutions to a Cubic Identity and the Factorization of n^2+n+1, arXiv:2508.14937 [math.GM], 2025. See Theorem 2 p. 4.
MATHEMATICA
ff[{m_, n_}]:=Table[m, n]; Select[Range[798], Count[Mod[ff/@FactorInteger[#]//Flatten, 3], 1]>1&] (* James C. McMahon, Aug 22 2025 *)
PROG
(PARI) isok(k) = my(f=factor(k)); sum(i=1, #f~, if ((f[i, 1]%3) == 1, f[i, 2])) >= 2;
(Magma) res := []; for n in [1..1000] do L := [ f[2] : f in Factorization(n) | f[1] mod 3 eq 1 ]; count := (#L eq 0) select 0 else &+L; if count gt 1 then Append(~res, n); end if; end for; res;
// Vincenzo Librandi, Aug 24 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Aug 22 2025
STATUS
approved
