A352272 Numbers whose squarefree part is congruent to 1 modulo 6.
1, 4, 7, 9, 13, 16, 19, 25, 28, 31, 36, 37, 43, 49, 52, 55, 61, 63, 64, 67, 73, 76, 79, 81, 85, 91, 97, 100, 103, 109, 112, 115, 117, 121, 124, 127, 133, 139, 144, 145, 148, 151, 157, 163, 169, 171, 172, 175, 181, 187, 193, 196, 199, 205, 208, 211, 217, 220, 223, 225, 229
Offset: 1
Examples
The squarefree part of 9 is 1, which is congruent to 1 (mod 6), so 9 is in the sequence. The squarefree part of 14 is 14, which is congruent to 2 (mod 6), so 14 is not in the sequence. The squarefree part of 52 = 2^2 * 13 is 13, which is congruent to 1 (mod 6), so 52 is in the sequence. The 8 cosets described in the initial comments (forming a partition of the positive integers) are shown as rows of the following table. The first half of the table corresponds to (6k+i) with i=1; the second half to i=5, with row 5 being A352273. 1, 4, 7, 9, 13, 16, 19, 25, 28, 31, 36, ... 2, 8, 14, 18, 26, 32, 38, 50, 56, 62, 72, ... 3, 12, 21, 27, 39, 48, 57, 75, 84, 93, 108, ... 6, 24, 42, 54, 78, 96, 114, 150, 168, 186, 216, ... 5, 11, 17, 20, 23, 29, 35, 41, 44, 45, 47, ... 10, 22, 34, 40, 46, 58, 70, 82, 88, 90, 94, ... 15, 33, 51, 60, 69, 87, 105, 123, 132, 135, 141, ... 30, 66, 102, 120, 138, 174, 210, 246, 264, 270, 282, ... The product of two positive integers is in this sequence if and only if they are in the same coset. The asymptotic density of cosets (containing) 1 and 5 is 1/4; of cosets 2 and 10 is 1/8; of cosets 3 and 15 is 1/12; of cosets 6 and 30 is 1/24.
Links
- Eric Weisstein's World of Mathematics, Group, Quotient Group, Squarefree Part.
Crossrefs
Intersection of any 4 sets chosen from A003159, A007417, A026225, A036668, A189715 and A225837 (in most cases, only 3 sets are needed - specifically if the pairwise intersections of the 3 sets differ from each other).
Closure of A084089 under multiplication by 9.
A334832 lists equivalent sequences modulo other divisors of 24.
Programs
-
PARI
isok(m) = core(m) % 6 == 1;
-
Python
from itertools import count def A352272(n): def bisection(f,kmin=0,kmax=1): while f(kmax) > kmax: kmax <<= 1 kmin = kmax >> 1 while kmax-kmin > 1: kmid = kmax+kmin>>1 if f(kmid) <= kmid: kmax = kmid else: kmin = kmid return kmax def f(x): c = n+x for i in count(0): i2 = 9**i if i2>x: break for j in count(0,2): k = i2<
x: break c -= (x//k-1)//6+1 return c return bisection(f,n,n) # Chai Wah Wu, Feb 14 2025
Comments