cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 11 results. Next

A046644 From square root of Riemann zeta function: form Dirichlet series Sum b_n/n^s whose square is zeta function; sequence gives denominator of b_n.

Original entry on oeis.org

1, 2, 2, 8, 2, 4, 2, 16, 8, 4, 2, 16, 2, 4, 4, 128, 2, 16, 2, 16, 4, 4, 2, 32, 8, 4, 16, 16, 2, 8, 2, 256, 4, 4, 4, 64, 2, 4, 4, 32, 2, 8, 2, 16, 16, 4, 2, 256, 8, 16, 4, 16, 2, 32, 4, 32, 4, 4, 2, 32, 2, 4, 16, 1024, 4, 8, 2, 16, 4, 8, 2, 128, 2, 4, 16, 16, 4, 8
Offset: 1

Views

Author

Keywords

Comments

From Antti Karttunen, Aug 21 2018: (Start)
a(n) is the denominator of any rational-valued sequence f(n) which has been defined as f(n) = (1/2) * (b(n) - Sum_{d|n, d>1, d
Proof:
Proof is by induction. We assume as our induction hypothesis that the given multiplicative formula for A046644 (resp. additive formula for A046645) holds for all proper divisors d|n, dA046645(p) = 1. [Remark: for squares of primes, f(p^2) = (4*b(p^2) - 1)/8, thus a(p^2) = 8.]
First we note that A005187(x+y) <= A005187(x) + A005187(y), with equivalence attained only when A004198(x,y) = 0, that is, when x and y do not have any 1-bits in the shared positions. Let m = Sum_{e} A005187(e), with e ranging over the exponents in prime factorization of n.
For [case A] any n in A268388 it happens that only when d (and thus also n/d) are infinitary divisors of n will Sum_{e} A005187(e) [where e now ranges over the union of multisets of exponents in the prime factorizations of d and n/d] attain value m, which is the maximum possible for such sums computed for all divisor pairs d and n/d. For any n in A268388, A037445(n) = 2^k, k >= 2, thus A037445(n) - 2 = 2 mod 4 (excluding 1 and n from the count, thus -2). Thus, in the recursive formula above, the maximal denominator that occurs in the sum is 2^m which occurs k times, with k being an even number, but not a multiple of 4, thus the factor (1/2) in the front of the whole sum will ensure that the denominator of the whole expression is 2^m [which thus is equal to 2^A046645(n) = a(n)].
On the other hand [case B], for squares in A050376 (A082522, numbers of the form p^(2^k) with p prime and k>0), all the sums A005187(x)+A005187(y), where x+y = 2^k, 0 < x <= y < 2^k are less than A005187(2^k), thus it is the lonely "middle pair" f(p^(2^(k-1))) * f(p^(2^(k-1))) among all the pairs f(d)*f(n/d), 1 < d < n = p^(2^k) which yields the maximal denominator. Furthermore, as it occurs an odd number of times (only once), the common factor (1/2) for the whole sum will increase the exponent of 2 in denominator by one, which will be (2*A005187(2^(k-1))) + 1 = A005187(2^k) = A046645(p^(2^k)).
(End)
From Antti Karttunen, Aug 21 2018: (Start)
The following list gives a few such pairs num(n), b(n) for which b(n) is Dirichlet convolution of num(n)/a(n). Here ε stands for sequence A063524 (1, 0, 0, ...).
Numerators Dirichlet convolution of numerator(n)/a(n) yields
------- -----------
(End)
This sequence gives an upper bound for the denominators of any rational-valued sequence obtained as the "Dirichlet Square Root" of any integer-valued sequence. - Andrew Howroyd, Aug 23 2018

Crossrefs

See A046643 for more details. See also A046645, A317940.
Cf. A299150, A299152, A317832, A317926, A317932, A317934 (for denominator sequences of other similar constructions).

Programs

Formula

From Antti Karttunen, Jul 08 2017: (Start)
Multiplicative with a(p^n) = 2^A005187(n).
a(1) = 1; for n > 1, a(n) = A000079(A005187(A067029(n))) * a(A028234(n)).
a(n) = A000079(A046645(n)).
(End)
Sum_{j=1..n} A046643(j)/A046644(j) ~ n / sqrt(Pi*log(n)) * (1 + (1 - gamma/2)/(2*log(n))), where gamma is the Euler-Mascheroni constant A001620. - Vaclav Kotesovec, May 04 2025

A299150 Denominators of the positive solution to n = Sum_{d|n} a(d) * a(n/d).

Original entry on oeis.org

1, 1, 2, 2, 2, 2, 2, 2, 8, 2, 2, 4, 2, 2, 4, 8, 2, 8, 2, 4, 4, 2, 2, 4, 8, 2, 16, 4, 2, 4, 2, 8, 4, 2, 4, 16, 2, 2, 4, 4, 2, 4, 2, 4, 16, 2, 2, 16, 8, 8, 4, 4, 2, 16, 4, 4, 4, 2, 2, 8, 2, 2, 16, 16, 4, 4, 2, 4, 4, 4, 2, 16, 2, 2, 16, 4, 4, 4, 2, 16, 128, 2, 2
Offset: 1

Author

Gus Wiseman, Feb 03 2018

Keywords

Examples

			Sequence begins: 1, 1, 3/2, 3/2, 5/2, 3/2, 7/2, 5/2, 27/8, 5/2, 11/2, 9/4, 13/2, 7/2.
		

Programs

  • Mathematica
    nn=50;
    sys=Table[n==Sum[a[d]*a[n/d],{d,Divisors[n]}],{n,nn}];
    Denominator[Array[a,nn]/.Solve[sys,Array[a,nn]][[2]]]
    f[p_, e_] := 2^((1 + Mod[p, 2])*e - DigitCount[e, 2, 1]); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Apr 28 2023 *)
  • PARI
    a(n)={my(v=factor(n)[,2]); denominator(n*prod(i=1, #v, my(e=v[i]); binomial(2*e, e)/4^e))} \\ Andrew Howroyd, Aug 09 2018
    
  • PARI
    A299150(n) = { my(f = factor(n), m=1); for(i=1, #f~, m *= 2^(((1+(f[i,1]%2))*f[i,2]) - hammingweight(f[i,2]))); (m); }; \\ Antti Karttunen, Sep 03 2018
    
  • PARI
    for(n=1, 100, print1(denominator(direuler(p=2, n, 1/(1-p*X)^(1/2))[n]), ", ")) \\ Vaclav Kotesovec, May 08 2025

Formula

a(n) = denominator(n*A317848(n)/A165825(n)) = A165825(n)/(A037445(n) * A006519(n)). - Andrew Howroyd, Aug 09 2018
a(n) = A046644(n)/A006519(n). - Andrew Howroyd and Antti Karttunen, Aug 30 2018
From Antti Karttunen, Sep 03 2018: (Start)
a(n) = 2^A318440(n).
Multiplicative with a(2^e) = 2^A011371(e), a(p^e) = 2^A005187(e) for odd primes p.
Multiplicative with a(p^e) = 2^(((1+A000035(p))*e)-A000120(e)) for all primes p.
(End)

Extensions

Keyword:mult added by Andrew Howroyd, Aug 09 2018

A299149 Numerators of the positive solution to n = Sum_{d|n} a(d) * a(n/d).

Original entry on oeis.org

1, 1, 3, 3, 5, 3, 7, 5, 27, 5, 11, 9, 13, 7, 15, 35, 17, 27, 19, 15, 21, 11, 23, 15, 75, 13, 135, 21, 29, 15, 31, 63, 33, 17, 35, 81, 37, 19, 39, 25, 41, 21, 43, 33, 135, 23, 47, 105, 147, 75, 51, 39, 53, 135, 55, 35, 57, 29, 59, 45, 61, 31, 189, 231, 65, 33
Offset: 1

Author

Gus Wiseman, Feb 03 2018

Keywords

Comments

Dirichlet convolution of a(n)/A046644(n) with itself yields A000265. - Antti Karttunen, Aug 30 2018

Examples

			Sequence begins: 1, 1, 3/2, 3/2, 5/2, 3/2, 7/2, 5/2, 27/8, 5/2, 11/2, 9/4, 13/2, 7/2.
		

Programs

  • Mathematica
    nn=50;
    sys=Table[n==Sum[a[d]*a[n/d],{d,Divisors[n]}],{n,nn}];
    Numerator[Array[a,nn]/.Solve[sys,Array[a,nn]][[2]]]
    odd[n_] := n/2^IntegerExponent[n, 2]; f[p_, e_] := odd[p^e*Binomial[2*e, e]]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Apr 30 2023 *)
  • PARI
    a(n)={my(v=factor(n)[,2]); numerator(n*prod(i=1, #v, my(e=v[i]); binomial(2*e, e)/4^e))} \\ Andrew Howroyd, Aug 09 2018
    
  • PARI
    \\ DirSqrt(v) finds u such that v = v[1]*dirmul(u, u).
    DirSqrt(v)={my(n=#v, u=vector(n)); u[1]=1; for(n=2, n, u[n]=(v[n]/v[1] - sumdiv(n, d, if(d>1&&dAndrew Howroyd, Aug 09 2018
    
  • PARI
    for(n=1, 100, print1(numerator(direuler(p=2, n, 1/(1-p*X)^(1/2))[n]), ", ")) \\ Vaclav Kotesovec, May 09 2025

Formula

a(n) = numerator(n*A317848(n)/A165825(n)) = A000265(n*A317848(n)). - Andrew Howroyd, Aug 09 2018
Sum_{k=1..n} A299149(k)/A299150(k) ~ n^2 / (2*sqrt(Pi*log(n))) * (1 + (1-gamma) / (4*log(n))), where gamma is the Euler-Mascheroni constant A001620. - Vaclav Kotesovec, May 09 2025

Extensions

Keyword:mult added by Andrew Howroyd, Aug 09 2018

A299151 Numerators of the positive solution to 2^(n-1) = Sum_{d|n} a(d) * a(n/d).

Original entry on oeis.org

1, 1, 2, 7, 8, 14, 32, 121, 126, 248, 512, 1003, 2048, 4064, 8176, 130539, 32768, 65382, 131072, 261868, 524224, 1048064, 2097152, 4193131, 8388576, 16775168, 33554180, 67104688, 134217728, 268426672, 536870912, 8589802359, 2147482624, 4294934528, 8589934336, 17179801257, 34359738368, 68719345664, 137438949376, 274877643724, 549755813888
Offset: 1

Author

Gus Wiseman, Feb 03 2018

Keywords

Comments

Numerators of rational valued sequence f whose Dirichlet convolution with itself yields function g(n) = A000079(n-1) = 2^(n-1). - Antti Karttunen, Aug 10 2018

Examples

			Sequence begins: 1, 1, 2, 7/2, 8, 14, 32, 121/2, 126, 248, 512, 1003, 2048, 4064, 8176, 130539/8, 32768.
		

Programs

  • Mathematica
    nn=50;
    sys=Table[2^(n-1)==Sum[a[d]*a[n/d],{d,Divisors[n]}],{n,nn}];
    Numerator[Array[a,nn]/.Solve[sys,Array[a,nn]][[2]]]
  • PARI
    A299151perA299152(n) = if(1==n,n,(2^(n-1)-sumdiv(n,d,if((d>1)&&(dA299151perA299152(d)*A299151perA299152(n/d),0)))/2);
    A299151(n) = numerator(A299151perA299152(n));

Extensions

More terms from Antti Karttunen, Jul 29 2018

A257099 From third root of the inverse of Riemann zeta function: form Dirichlet series Sum b(n)/n^x whose cube is 1/zeta; sequence gives numerator of b(n).

Original entry on oeis.org

1, -1, -1, -1, -1, 1, -1, -5, -1, 1, -1, 1, -1, 1, 1, -10, -1, 1, -1, 1, 1, 1, -1, 5, -1, 1, -5, 1, -1, -1, -1, -22, 1, 1, 1, 1, -1, 1, 1, 5, -1, -1, -1, 1, 1, 1, -1, 10, -1, 1, 1, 1, -1, 5, 1, 5, 1, 1, -1, -1, -1, 1, 1, -154, 1, -1, -1, 1, 1, -1, -1, 5, -1, 1, 1, 1, 1, -1, -1, 10, -10, 1, -1, -1, 1, 1, 1, 5, -1, -1, 1, 1, 1, 1, 1, 22, -1, 1, 1, 1
Offset: 1

Author

Wolfgang Hintze, Apr 16 2015

Keywords

Comments

Dirichlet g.f. of b(n) = a(n)/A256689(n) is (zeta(x))^(-1/3).
Denominator is the same as for Dirichlet g.f. (zeta(x))^(+1/3).
Formula holds for general Dirichlet g.f. zeta(x)^(-1/k) with k = 1, 2, ...

Crossrefs

Cf. family zeta^(-1/k): A257098/A046644 (k=2), A257099/A256689 (k=3), A257100/A256691 (k=4), A257101/A256693 (k=5).
Cf. family zeta^(+1/k): A046643/A046644 (k=2), A256688/A256689 (k=3), A256690/A256691 (k=4), A256692/A256693 (k=5).

Programs

  • Mathematica
    k = 3;
    c[1, n_] = b[n];
    c[k_, n_] := DivisorSum[n, c[1, #1]*c[k - 1, n/#1] & ]
    nn = 100; eqs = Table[c[k, n]==MoebiusMu[n], {n, 1, nn}];
    sol = Solve[Join[{b[1] == 1}, eqs], Table[b[i], {i, 1, nn}], Reals];
    t = Table[b[n], {n, 1, nn}] /. sol[[1]];
    num = Numerator[t] (* A257099 *)
    den = Denominator[t] (* A256689 *)
  • PARI
    for(n=1, 100, print1(numerator(direuler(p=2, n, 1/(1-X)^(-1/3))[n]), ", ")) \\ Vaclav Kotesovec, May 04 2025

Formula

with k = 3;
zeta(x)^(-1/k) = Sum_{n>=1} b(n)/n^x;
c(1,n)=b(n); c(k,n) = Sum_{d|n} c(1,d)*c(k-1,n/d), k>1;
Then solve c(k,n) = mu(n) for b(m);
a(n) = numerator(b(n)).
Sum_{j=1..n} A257099(j)/A256689(j) ~ n / (Gamma(-1/3) * log(n)^(4/3)) * (1 + 4*(gamma/3 + 1)/(3*log(n))), where gamma is the Euler-Mascheroni constant A001620 and Gamma() is the gamma function. - Vaclav Kotesovec, May 05 2025

A299152 Denominators of the positive solution to 2^(n-1) = Sum_{d|n} a(d) * a(n/d).

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Author

Gus Wiseman, Feb 03 2018

Keywords

Examples

			Sequence begins: 1, 1, 2, 7/2, 8, 14, 32, 121/2, 126, 248, 512, 1003, 2048, 4064, 8176, 130539/8, 32768.
		

Programs

  • Mathematica
    nn=50;
    sys=Table[2^(n-1)==Sum[a[d]*a[n/d],{d,Divisors[n]}],{n,nn}];
    Denominator[Array[a,nn]/.Solve[sys,Array[a,nn]][[2]]]
  • PARI
    up_to = 65537;
    prepareA299151perA299152(up_to) = { my(vmemo = vector(up_to)); for(n=1,up_to, vmemo[n] = if(1==n,n,(2^(n-1)-sumdiv(n,d,if((d>1)&&(dA299152 = prepareA299151perA299152(up_to);
    A299151perA299152(n) = v299151perA299152[n];
    \\ Or without memoization as:
    A299151perA299152(n) = if(1==n,n,(2^(n-1)-sumdiv(n,d,if((d>1)&&(dA299151perA299152(d)*A299151perA299152(n/d),0)))/2);
    A299152(n) = denominator(A299151perA299152(n)); \\ Antti Karttunen, Jul 29 2018

Extensions

More terms from Antti Karttunen, Jul 29 2018

A299119 Positive solution to 2^(n-1) = (1/n) * Sum_{d|n} a(d) * a(n/d).

Original entry on oeis.org

1, 2, 6, 14, 40, 84, 224, 484, 1134, 2480, 5632, 12036, 26624, 56896, 122640, 261078, 557056, 1176876, 2490368, 5237360, 11008704, 23057408, 48234496, 100635144, 209714400, 436154368, 905962860, 1878931264, 3892314112, 8052800160, 16642998272, 34359209436
Offset: 1

Author

Gus Wiseman, Feb 03 2018

Keywords

Comments

For prime p, a(p) = 2^(p-2)*p. - Jon E. Schoenfield, Feb 03 2018

Programs

  • Maple
    with(numtheory):
    a:= proc(n) option remember; `if`(n=1, 1, n*2^(n-2)-
           add(a(d)*a(n/d), d=divisors(n) minus {1, n})/2)
        end:
    seq(a(n), n=1..35);  # Alois P. Heinz, Mar 07 2018
  • Mathematica
    nn=50;
    sys=Table[2^(n-1)*n==Sum[a[d]*a[n/d],{d,Divisors[n]}],{n,nn}];
    Array[a,nn]/.Solve[sys,Array[a,nn]][[2]]

A257100 From fourth root of the inverse of Riemann zeta function: form Dirichlet series Sum b(n)/n^x whose fourth power is 1/zeta; sequence gives numerator of b(n).

Original entry on oeis.org

1, -1, -1, -3, -1, 1, -1, -7, -3, 1, -1, 3, -1, 1, 1, -77, -1, 3, -1, 3, 1, 1, -1, 7, -3, 1, -7, 3, -1, -1, -1, -231, 1, 1, 1, 9, -1, 1, 1, 7, -1, -1, -1, 3, 3, 1, -1, 77, -3, 3, 1, 3, -1, 7, 1, 7, 1, 1, -1, -3, -1, 1, 3, -1463, 1, -1, -1, 3, 1, -1, -1, 21, -1, 1, 3, 3, 1, -1, -1, 77, -77, 1, -1, -3, 1, 1, 1, 7, -1, -3, 1, 3, 1, 1, 1, 231, -1, 3, 3, 9
Offset: 1

Author

Wolfgang Hintze, Apr 16 2015

Keywords

Comments

Dirichlet g.f. of b(n) = a(n)/A256691(n) is (zeta(x))^(-1/4).
Denominator is the same as for Dirichlet g.f. (zeta(x))^(+1/4).
Formula holds for general Dirichlet g.f. zeta(x)^(-1/k) with k = 1, 2, ...

Crossrefs

Cf. family zeta^(-1/k): A257098/A046644 (k=2), A257099/A256689 (k=3), A257100/A256691 (k=4), A257101/A256693 (k=5).
Cf. family zeta^(+1/k): A046643/A046644 (k=2), A256688/A256689 (k=3), A256690/A256691 (k=4), A256692/A256693 (k=5).

Programs

  • Mathematica
    k = 4;
    c[1, n_] = b[n];
    c[k_, n_] := DivisorSum[n, c[1, #1]*c[k - 1, n/#1] & ]
    nn = 100; eqs = Table[c[k, n]==MoebiusMu[n], {n, 1, nn}];
    sol = Solve[Join[{b[1] == 1}, eqs], Table[b[i], {i, 1, nn}], Reals];
    t = Table[b[n], {n, 1, nn}] /. sol[[1]];
    num = Numerator[t] (* A257100 *)
    den = Denominator[t] (* A256691 *)
  • PARI
    for(n=1, 100, print1(numerator(direuler(p=2, n, 1/(1-X)^(-1/4))[n]), ", ")) \\ Vaclav Kotesovec, May 04 2025

Formula

with k = 4;
zeta(x)^(-1/k) = Sum_{n>=1} b(n)/n^x;
c(1,n)=b(n); c(k,n) = Sum_{d|n} c(1,d)*c(k-1,n/d), k>1;
Then solve c(k,n) = mu(n) for b(m);
a(n) = numerator(b(n)).
Sum_{j=1..n} A257100(j)/A256691(j) ~ n / (Gamma(-1/4) * log(n)^(5/4)) * (1 + 5*(gamma/4 + 1)/(4*log(n))), where gamma is the Euler-Mascheroni constant A001620 and Gamma() is the gamma function. - Vaclav Kotesovec, May 05 2025

A257101 From fifth root of the inverse of Riemann zeta function: form Dirichlet series Sum b(n)/n^x whose fifth power is 1/zeta; sequence gives numerator of b(n).

Original entry on oeis.org

1, -1, -1, -2, -1, 1, -1, -6, -2, 1, -1, 2, -1, 1, 1, -21, -1, 2, -1, 2, 1, 1, -1, 6, -2, 1, -6, 2, -1, -1, -1, -399, 1, 1, 1, 4, -1, 1, 1, 6, -1, -1, -1, 2, 2, 1, -1, 21, -2, 2, 1, 2, -1, 6, 1, 6, 1, 1, -1, -2, -1, 1, 2, -1596, 1, -1, -1, 2, 1, -1, -1, 12, -1, 1, 2, 2, 1, -1, -1, 21, -21, 1, -1, -2, 1, 1, 1, 6, -1, -2, 1, 2, 1, 1, 1, 399, -1, 2, 2, 4
Offset: 1

Author

Wolfgang Hintze, Apr 16 2015

Keywords

Comments

Dirichlet g.f. of b(n) = A257101(n)/A256693(n) is (zeta(x))^(-1/5).
Denominator is the same as for Dirichlet g.f. (zeta(x))^(+1/5).
Formula holds for general Dirichlet g.f. zeta(x)^(-1/k) with k = 1, 2, ...

Crossrefs

Cf. family zeta^(-1/k): A257098/A046644 (k=2), A257099/A256689 (k=3), A257100/A256691 (k=4), A257101/A256693 (k=5).
Cf. family zeta^(+1/k): A046643/A046644 (k=2), A256688/A256689 (k=3), A256690/A256691 (k=4), A256692/A256693 (k=5).

Programs

  • Mathematica
    k = 5;
    c[1, n_] = b[n];
    c[k_, n_] := DivisorSum[n, c[1, #1]*c[k - 1, n/#1] & ]
    nn = 100; eqs = Table[c[k, n]==MoebiusMu[n], {n, 1, nn}];
    sol = Solve[Join[{b[1] == 1}, eqs], Table[b[i], {i, 1, nn}], Reals];
    t = Table[b[n], {n, 1, nn}] /. sol[[1]];
    num = Numerator[t] (* A257101 *)
    den = Denominator[t] (* A256693 *)
  • PARI
    for(n=1, 100, print1(numerator(direuler(p=2, n, 1/(1-X)^(-1/5))[n]), ", ")) \\ Vaclav Kotesovec, May 04 2025

Formula

with k = 5;
zeta(x)^(-1/k) = Sum_{n>=1} b(n)/n^x;
c(1,n)=b(n); c(k,n) = Sum_{d|n} c(1,d)*c(k-1,n/d), k>1;
Then solve c(k,n) = mu(n) for b(m);
a(n) = numerator(b(n)).
Sum_{j=1..n} A257101(j)/A256693(j) ~ n / (Gamma(-1/5) * log(n)^(6/5)) * (1 + 6*(gamma/5 + 1)/(5*log(n))), where gamma is the Euler-Mascheroni constant A001620 and Gamma() is the gamma function. - Vaclav Kotesovec, May 05 2025

A317939 Numerators of sequence whose Dirichlet convolution with itself yields A080339 = A010051 (characteristic function of primes) + A063524 (1, 0, 0, 0, ...).

Original entry on oeis.org

1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 3, 1, -1, -1, -5, 1, 3, 1, 3, -1, -1, 1, -5, -1, -1, 1, 3, 1, 3, 1, 7, -1, -1, -1, -15, 1, -1, -1, -5, 1, 3, 1, 3, 3, -1, 1, 35, -1, 3, -1, 3, 1, -5, -1, -5, -1, -1, 1, -15, 1, -1, 3, -21, -1, 3, 1, 3, -1, 3, 1, 35, 1, -1, 3, 3, -1, 3, 1, 35, -5, -1, 1, -15, -1, -1, -1, -5, 1, -15, -1, 3, -1, -1, -1, -63, 1, 3, 3
Offset: 1

Author

Antti Karttunen, Aug 14 2018

Keywords

Crossrefs

Cf. A010051, A080339, A046644 (denominators).

Programs

  • PARI
    up_to = 65537;
    DirSqrt(v) = {my(n=#v, u=vector(n)); u[1]=1; for(n=2, n, u[n]=(v[n]/v[1] - sumdiv(n, d, if(d>1&&dA317937.
    v317939aux = DirSqrt(vector(up_to, n, if(1==n,1,isprime(n))));
    A317939(n) = numerator(v317939aux[n]);

Formula

a(n) = numerator of f(n), where f(1) = 1, f(n) = (1/2) * (A010051(n) - Sum_{d|n, d>1, d 1.
Showing 1-10 of 11 results. Next