A356021 Positive numbers k such that, for any consecutive prime numbers p, q <= A006530(n), the p-adic and q-adic valuations of n are different.
1, 2, 3, 4, 8, 9, 10, 12, 16, 18, 20, 21, 24, 27, 32, 40, 45, 48, 50, 54, 63, 64, 72, 75, 80, 81, 84, 90, 96, 100, 108, 110, 126, 128, 135, 144, 147, 160, 162, 168, 189, 192, 200, 220, 243, 250, 256, 270, 273, 288, 300, 320, 324, 336, 350, 360, 375, 378, 384
Offset: 1
Keywords
Programs
-
PARI
is(n) = { my (v=-1); forprime (p=2, oo, if (n==1, return (1), v==v=valuation(n,p), return (0), n\=p^v)) }
Comments