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!)
A354875 Dirichlet inverse of A344005, the smallest positive m such that n divides the oblong number m*(m+1). 4
1, -1, -2, -2, -4, 2, -6, -2, -4, 4, -10, 7, -12, 6, 11, 0, -16, 4, -18, 16, 18, 10, -22, 4, -8, 12, -2, 23, -28, -11, -30, 4, 29, 16, 34, 12, -36, 18, 36, 5, -40, -18, -42, 39, 27, 22, -46, -6, -12, 8, 47, 48, -52, 2, 70, 25, 54, 28, -58, -78, -60, 30, 21, 8, 71, -29, -66, 64, 65, -34, -70, 24, -72, 36, 16, 71, 99 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A344005(n/d) * a(d).
a(n) = A354876(n) - A344005(n).
MATHEMATICA
f[n_] := Module[{m = 1}, While[! Divisible[m*(m + 1), n], m++]; m]; a[1] = 1; a[n_] := a[n] = -DivisorSum[n, a[#]*f[n/#] &, # < n &]; Array[a, 100] (* Amiram Eldar, Jun 12 2022 *)
PROG
(PARI)
A344005(n) = for(m=1, oo, if((m*(m+1))%n==0, return(m))); \\ From A344005
memoA354875 = Map();
A354875(n) = if(1==n, 1, my(v); if(mapisdefined(memoA354875, n, &v), v, v = -sumdiv(n, d, if(d<n, A344005(n/d)*A354875(d), 0)); mapput(memoA354875, n, v); (v)));
CROSSREFS
Cf. A002378, A344005, A354876, A354877 (positions of 0's).
Cf. also A345055.
Sequence in context: A278235 A074369 A323407 * A073348 A287093 A122457
KEYWORD
sign
AUTHOR
Antti Karttunen, Jun 12 2022
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 July 28 14:38 EDT 2024. Contains 374698 sequences. (Running on oeis4.)