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-4 of 4 results.

A263084 a(n) = A263086(n) - A263085(n).

Original entry on oeis.org

1, 2, 4, 6, 7, 11, 13, 14, 18, 22, 22, 28, 29, 31, 37, 41, 41, 46, 48, 52, 58, 62, 60, 68, 71, 73, 79, 83, 83, 93, 95, 96, 100, 104, 108, 118, 120, 120, 124, 132, 131, 141, 141, 145, 155, 157, 157, 165, 169, 172, 178, 184, 180, 190, 196, 202, 208, 210, 208, 220, 221, 223, 231, 237, 241, 251, 251, 251, 257, 267, 267, 278
Offset: 1

Views

Author

Antti Karttunen, Oct 12 2015

Keywords

Comments

See also the Plot2-link at A263086.

Crossrefs

Programs

  • Mathematica
    Accumulate[Table[Subtract @@ DivisorSigma[0, 2*n - {0, 1}], {n, 1, 100}]] (* Amiram Eldar, Jan 25 2025 *)
  • PARI
    list(lim) = {my(s = 0); for(n = 1, lim, s += numdiv(2*n) - numdiv(2*n-1); print1(s, ", "));} \\ Amiram Eldar, Jan 25 2025
  • Scheme
    (define (A263084 n) (- (A263086 n) (A263085 n)))
    

Formula

a(n) = A263086(n) - A263085(n).
a(n) ~ n * (log(n) + 2*gamma - log(2) - 1), where gamma is Euler's constant (A001620). - Amiram Eldar, Jan 25 2025

A259934 Infinite sequence starting with a(0)=0 such that A049820(a(k)) = a(k-1) for all k>=1, where A049820(n) = n - (number of divisors of n).

Original entry on oeis.org

0, 2, 6, 12, 18, 22, 30, 34, 42, 46, 54, 58, 62, 70, 78, 90, 94, 102, 106, 114, 118, 121, 125, 129, 144, 152, 162, 166, 174, 182, 190, 194, 210, 214, 222, 230, 236, 242, 250, 254, 270, 274, 282, 294, 298, 302, 310, 314, 330, 342, 346, 354, 358, 366, 374, 390, 394, 402, 410, 418, 426, 434, 442, 446, 462, 466, 474, 486, 494, 510, 522, 530, 546, 558, 562, 566, 574, 582, 590
Offset: 0

Views

Author

Max Alekseyev, Jul 09 2015

Keywords

Comments

Equivalently, satisfies the property: A000005(a(n)) = a(n)-a(n-1). The first differences a(n)-a(n-1) are given in A259935.
V. S. Guba (2015) proved that such an infinite sequence exists. Numerical evidence suggests that it may also be unique -- is it? All terms below 10^10 are defined uniquely.
If the current definition does not uniquely define the sequence, the "lexicographically earliest" condition may be added to make the sequence well-defined.
From Vladimir Shevelev, Jul 21 2015: (Start)
If a(k), a(k+1), a(k+2) is an arithmetic progression, then a(k+1) is in A175304.
Indeed, by the definition of this sequence, a(n)-a(n-1) = d(a(n)), for all n>=1, where d(n) = A000005(n). Hence, have a(k+1) - a(k) = a(k+2) - a(k+1) = d(a(k+1)) = d(a(k+2)). So a(k+1) + d(a(k+2)) = a(k+2) and a(k+1) + d(a(k+1)) = a(k+2).
Therefore, d(a(k+1) + d(a(k+1))) = d(a(k+2))= d(a(k+1)), i.e., a(k+1) is in A175304. Thus, if there are infinitely many pairs of the same consecutive terms of A259935, then A175304 is infinite (see there my conjecture). (End)
From Antti Karttunen, Nov 27 2015: (Start)
If multiple apparently infinite branches would occur at some point of computing, then even if the "lexicographically earliest" condition were then added to the definition, it would not help us much (when computing the sequence), as we would still not know which of the said branches were truly infinite. [See also Max Alekseyev's latter Jul 9 2015 posting on SeqFan-list, where he notes the same thing.] Note that many of the derived sequences tacitly assume that the uniqueness-conjecture is true. See also comments at A262693 and A262896.
One sufficient (but not a necessary) condition for the uniqueness of this sequence is that the sequence A262509 has infinite number of terms. Please see further comments there.
The graph of sequence exhibits two markedly different slopes, depending on whether it is on the "fast lane" of A049820 (even numbers) or the "slow lane" [odd numbers, for example when traversing the 1356 odd terms from 123871 to 113569 at range a(9859) .. a(8504)]. See A263086/A263085 for the "average cumulative speed difference" between the lanes. In general, slow and fast lane stay separate, except when they terminate into one of the squares (A262514) that work as "exchange ramps", forcing the parity (and thus the speed) to change. In average, the odd squares are slightly better than the even squares in attracting lanes going towards smaller numbers (compare A263253 to A263252). The cumulative effect of this bias is that the odd terms are much rarer in this sequence than the even terms (compare A263278 to A262516).
(End)

Crossrefs

Cf. A000005, A049820, A060990, A259935 (first differences).
Topmost row of A263255. Cf. also irregular tables A263267 & A263265 and array A262898.
Cf. A262693 (characteristic function).
Cf. A155043, A262694, A262904 (left inverses).
Cf. A262514 (squares present), A263276 (their positions), A263277.
Cf. A262517 (odd terms).
Cf. A262509, A262510, A262897 (other subsequences).
Cf. also A175304, A260257, A262680.
Cf. also A262679, A262896 (see the C++ program there).
No common terms with A045765 or A262903.
Positions of zeros in A262522, A262695, A262696, A262697, A263254.
Various metrics concerning finite side-trees: A262888, A262889, A262890.
Cf. also A262891, A262892 and A262895 (cf. its graph).
Cf. A260084, A260124 (variants).
Cf. also A179016 (a similar "beanstalk trunk sequence" but with more tractable and regular behavior).

Programs

Formula

From Antti Karttunen, Nov 27 2015: (Start)
Other identities and observations. For all n >= 0:
a(n) = A262679(A262896(n)).
A155043(a(n)) = A262694(a(n)) = A262904(a(n)) = n.
A261089(n) <= a(n) <= A262503(n). [A261103 and A262506 give the distances of a(n) to these bounds.]
(End)

A263086 Partial sums of A099777, where A099777(n) gives the number of divisors of n-th even number.

Original entry on oeis.org

2, 5, 9, 13, 17, 23, 27, 32, 38, 44, 48, 56, 60, 66, 74, 80, 84, 93, 97, 105, 113, 119, 123, 133, 139, 145, 153, 161, 165, 177, 181, 188, 196, 202, 210, 222, 226, 232, 240, 250, 254, 266, 270, 278, 290, 296, 300, 312, 318, 327, 335, 343, 347, 359, 367, 377, 385, 391, 395, 411, 415, 421, 433, 441, 449, 461, 465, 473, 481
Offset: 1

Views

Author

Antti Karttunen, Oct 12 2015

Keywords

Crossrefs

Programs

  • Maple
    with(numtheory): seq(add(tau(2*k), k=1..n), n= 1..60); # Ridouane Oudra, Aug 24 2019
  • Mathematica
    Accumulate[DivisorSigma[0, 2 Range@ 69]] (* Michael De Vlieger, Oct 13 2015 *)
  • PARI
    a(n) = sum(k=1, n, numdiv(2*k)); \\ Michel Marcus, Aug 25 2019
    
  • Python
    from math import isqrt
    def A263086(n): return (t:=isqrt(m:=n>>1))**2-((s:=isqrt(n))**2<<1)+((sum(n//k for k in range(1,s+1))<<1)-sum(m//k for k in range(1,t+1))<<1) # Chai Wah Wu, Oct 23 2023

Formula

a(1) = 2; for n > 1, a(n) = A000005(2*n) + a(n-1) [where A000005(k) gives the number of divisors of k].
Other identities. For all n >= 1:
a(n) = A263084(n) + A263085(n).
a(n) ~ n/2 * (3*log(n) + log(2) + 6*gamma - 3), where gamma is the Euler-Mascheroni constant A001620. - Vaclav Kotesovec, Feb 13 2019
From Ridouane Oudra, Aug 24 2019: (Start)
a(n) = Sum_{k=1..n} A000005(2*k)
a(n) = A006218(n) + A060831(n). (End)

A263253 Partial sums of A263251.

Original entry on oeis.org

2, 3, 3, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 14, 15, 17, 18, 18, 18, 19, 20, 21, 22, 22, 23, 24, 25, 26, 27, 27, 28, 29, 30, 30, 31, 33, 33, 34, 35, 36, 37, 38, 38, 39, 39, 41, 42, 42, 43, 44, 45, 45, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 59, 59, 60, 62, 64, 64, 66, 67, 67, 68, 69, 70, 72, 73
Offset: 0

Views

Author

Antti Karttunen, Nov 07 2015

Keywords

Crossrefs

Programs

Formula

a(0) = A263251(n); for n >= 1, a(n) = A263251(n) + a(n-1).
Showing 1-4 of 4 results.