login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A350059 Numbers k such that 3k and 4k have the same number of divisors. 1
2, 10, 14, 22, 24, 26, 34, 38, 46, 50, 58, 62, 70, 74, 82, 86, 94, 98, 106, 110, 118, 120, 122, 130, 134, 142, 146, 154, 158, 166, 168, 170, 178, 182, 190, 194, 202, 206, 214, 218, 226, 230, 238, 242, 250, 254, 262, 264, 266, 274, 278, 286, 288, 290, 298, 302, 310, 312, 314 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Includes all numbers whose prime factorization has one 2 and no 3's, or three 2's and one 3.
Numbers k such that v_2(k) - 2*v_3(k) = 1, where v_p(k) is the p-adic valuation of k. - Amiram Eldar, Dec 12 2021
Numbers of the form 2 * 12^k * A007310(m) for k >= 0 and m >= 1. - David A. Corneth, Dec 12 2021
The asymptotic density of this sequence is 2/11. - Amiram Eldar, Feb 02 2024
LINKS
EXAMPLE
30 is not in the sequence: 30*3=90 has 12 divisors, but 30*4=120 has 16 divisors.
MATHEMATICA
Select[Range[300], IntegerExponent[#, 2] - 2 * IntegerExponent[#, 3] == 1 &] (* Amiram Eldar, Dec 12 2021 *)
PROG
(PARI) isok(k) = numdiv(3*k) == numdiv(4*k); \\ Michel Marcus, Dec 12 2021
(PARI) isok(n) = valuation(n, 2) - 2 * valuation(n, 3) == 1; \\ Amiram Eldar, Feb 02 2024
(Python)
from sympy import multiplicity as v
def ok(n): return v(2, n) - 2*v(3, n) == 1
print([k for k in range(1, 315) if ok(k)]) # Michael S. Branicky, Feb 02 2024
CROSSREFS
Sequence in context: A050546 A032384 A032624 * A349833 A091999 A230624
KEYWORD
nonn,easy
AUTHOR
J. Lowell, Dec 11 2021
EXTENSIONS
More terms from Michel Marcus, Dec 12 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 01:15 EDT 2024. Contains 375995 sequences. (Running on oeis4.)