A255437
In positive integers: replace k^2 with the first k odd numbers.
Original entry on oeis.org
1, 2, 3, 1, 3, 5, 6, 7, 8, 1, 3, 5, 10, 11, 12, 13, 14, 15, 1, 3, 5, 7, 17, 18, 19, 20, 21, 22, 23, 24, 1, 3, 5, 7, 9, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 1, 3, 5, 7, 9, 11, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 1, 3, 5, 7, 9, 11, 13, 50, 51
Offset: 1
. A000290 | 1, 4, 9, 16, . . .
. A000027 | _,2,3,___,5,6,7,8,_____,10,11,12,13,14,15,_______,17,18,...
. A158405 | 1, 1,3, 1,3,5, 1,3,5,7,
. --------+-------------------------------------------------------------
. a(n) | 1,2,3,1,3,5,6,7,8,1,3,5,10,11,12,13,14,15,1,3,5,7,17,18,19 .
A337533
1 together with nonsquares whose square part's square root is in the sequence.
Original entry on oeis.org
1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68
Offset: 1
4 is square and not 1, so 4 is not in the sequence.
12 = 3 * 2^2 is nonsquare, and has square part 4, whose square root (2) is in the sequence. So 12 is in the sequence.
32 = 2 * 4^2 is nonsquare, but has square part 16, whose square root (4) is not in the sequence. So 32 is not in the sequence.
-
S:= {1}:
for n from 2 to 100 do
if not issqr(n) then
F:= ifactors(n)[2];
s:= mul(t[1]^floor(t[2]/2),t=F);
if member(s,S) then S:= S union {n} fi
fi
od:
sort(convert(S,list)); # Robert Israel, Jan 07 2025
-
pow2Q[n_] := n == 2^IntegerExponent[n, 2]; Select[Range[100], # == 1 || pow2Q[1 + BitOr @@ (FactorInteger[#][[;; , 2]])] &] (* Amiram Eldar, Sep 18 2020 *)
Original entry on oeis.org
1, 2, 3, 6, 7, 8, 9, 13, 14, 15, 16, 17, 18, 23, 24, 25, 26, 27, 28, 29, 30, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 93, 94, 95, 96, 97, 98, 99, 100, 101
Offset: 1
Showing 1-3 of 3 results.
Comments