A337534 Nontrivial squares together with nonsquares whose square part's square root is in the sequence.
4, 9, 16, 25, 32, 36, 48, 49, 64, 80, 81, 96, 100, 112, 121, 144, 160, 162, 169, 176, 196, 208, 224, 225, 240, 243, 256, 272, 289, 304, 324, 336, 352, 361, 368, 400, 405, 416, 441, 464, 480, 484, 486, 496, 512, 528, 529, 544, 560, 567, 576, 592, 608, 624, 625
Offset: 1
Examples
4 is square and nontrivial (not 1), so 4 is in the sequence. 12 = 3 * 2^2 is nonsquare, but has square part 4, whose square root (2) is not in the sequence. So 12 is not in the sequence. 32 = 2 * 4^2 is nonsquare, and has square part 16, whose square root (4) is in the sequence. So 32 is in the sequence.
Links
- Eric Weisstein's World of Mathematics, Square part
- Index to sequences related to prime signature
Crossrefs
Programs
-
Maple
A337534 := proc(n) option remember ; if n =1 then 4; else for a from procname(n-1)+1 do if A209229(A267116(a)+1) = 0 then return a; end if; end do: end if; end proc: seq(A337534(n),n=1..80) ; # R. J. Mathar, Feb 16 2021
-
Mathematica
pow2Q[n_] := n == 2^IntegerExponent[n, 2]; Select[Range[625], ! pow2Q[1 + BitOr @@ (FactorInteger[#][[;; , 2]])] &] (* Amiram Eldar, Sep 18 2020 *)
Comments