login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A354355
Characteristic function of numbers with their sum of divisors (sigma) 3-smooth.
3
1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1
OFFSET
1
FORMULA
Multiplicative with a(p^e) = A065333(1 + p + p^2 + ... + p^e).
a(n) = A065333(A000203(n)).
MATHEMATICA
a[n_] := If[Max @ FactorInteger[DivisorSigma[1, n]][[;; , 1]] <= 3, 1, 0]; Array[a, 100] (* Amiram Eldar, May 25 2022 *)
PROG
(PARI)
A065333(n) = ((3^valuation(n, 3)<<valuation(n, 2))==n); \\ From A065333
A354355(n) = A065333(sigma(n));
CROSSREFS
Characteristic function of A354356.
Cf. also A122255.
Sequence in context: A323152 A192280 A342005 * A266974 A075437 A130047
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, May 24 2022
STATUS
approved