OFFSET
1,2
COMMENTS
Closed under multiplication.
Closed with respect to permutation A267099. - Antti Karttunen, Feb 03 2016
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
825 = 3*5*5*11 = [(4*0+3)*(4*2+3)]*[(4*1+1)*(4*1+1)], therefore 825 is a term.
MATHEMATICA
f[n_]:=Plus@@Last/@Select[If[==1, {}, FactorInteger[n]], Mod[#[[1]], 4]==1&]; Table[f[n], {n, 100}] (* Ray Chandler, Dec 18 2011 *)
PROG
(Haskell)
a072202 n = a072202_list !! (n-1)
a072202_list = [x | x <- [1..], a083025 x == a065339 x]
-- Reinhard Zumkeller, Jan 10 2012
(Scheme) (define A072202 (ZERO-POS 1 1 A079635)) ;; [requires also my IntSeq-library] - Antti Karttunen, Feb 03 2016
(PARI) isok(n) = {my(f = factor(n)); sum(k=1, #f~, ((f[k, 1] % 4)==1)*f[k, 2]) == sum(k=1, #f~, ((f[k, 1] % 4)==3)*f[k, 2]); } \\ Michel Marcus, Feb 05 2016
CROSSREFS
Primitive elements are {2} U A080774. - Franklin T. Adams-Watters, Dec 16 2011.
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 03 2002
STATUS
approved