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

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)

A263087 a(n) = A060990(n^2); number of solutions to x - d(x) = n^2, where d(x) is the number of divisors of x (A000005).

Original entry on oeis.org

2, 2, 1, 1, 1, 0, 0, 0, 0, 2, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 2, 1, 0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 2, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 2, 3, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0
Offset: 0

Views

Author

Antti Karttunen, Oct 12 2015

Keywords

Crossrefs

Cf. A263093 (positions of zeros), A263092 (nonzeros).
Cf. A263250, A263251 (bisections) and A263252, A263253 (their partial sums).
Cf. also A261088, A263088.

Programs

  • PARI
    A060990(n) = { my(k = n + 2400, s=0); while(k > n, if(((k-numdiv(k)) == n),s++); k--;); s}; \\ Hard limit A002183(77)=2400 good for at least up to A002182(77) = 10475665200.
    A263087(n) = A060990(n^2);
    for(n=0, 10082, write("b263087.txt", n, " ", A263087(n)));
    
  • Scheme
    (define (A263087 n) (A060990 (A000290 n)))

Formula

a(n) = A060990(n^2) = A060990(A000290(n)).

A263252 Partial sums of A263250.

Original entry on oeis.org

2, 3, 4, 4, 4, 4, 6, 6, 6, 6, 6, 6, 8, 8, 8, 9, 10, 10, 12, 13, 14, 15, 16, 16, 18, 18, 19, 19, 19, 19, 19, 19, 20, 21, 22, 23, 26, 27, 28, 28, 29, 29, 30, 31, 32, 32, 33, 33, 35, 35, 35, 36, 36, 36, 37, 37, 38, 38, 38, 38, 40, 40, 40, 40, 40, 40, 43, 44, 45, 46, 46, 46, 47
Offset: 0

Views

Author

Antti Karttunen, Nov 07 2015

Keywords

Crossrefs

Cf. also A263086.

Programs

Formula

a(0) = A263250(n); for n >= 1, a(n) = A263250(n) + a(n-1).

A263251 Odd bisection of A263087; number of solutions to x - d(x) = (2n+1)^2, where d(x) is the number of divisors of x (A000005).

Original entry on oeis.org

2, 1, 0, 0, 2, 1, 1, 1, 1, 1, 2, 1, 1, 0, 1, 2, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 2, 0, 1, 1, 1, 1, 1, 0, 1, 0, 2, 1, 0, 1, 1, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 0, 0, 1, 2, 2, 0, 2, 1, 0, 1, 1, 1, 2, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 3, 2, 1, 0, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 2, 0, 0, 0, 0, 1, 2, 2, 2, 2, 0, 0, 1, 0, 1, 1, 1
Offset: 0

Views

Author

Antti Karttunen, Nov 07 2015

Keywords

Crossrefs

Cf. also A263253 (partial sums).

Programs

  • PARI
    A060990(n) = { my(k = n + 2400, s=0); while(k > n, if(((k-numdiv(k)) == n),s++); k--;); s}; \\ Hard limit A002183(77)=2400 good for at least up to A002182(77) = 10475665200.
    A263087(n) = A060990(n^2);
    A263251(n) = A263087((2*n)+1);
    p = 0; for(n=0, 10000, k = A263251(n); p += k; write("b263251.txt", n, " ", k); write("b263253.txt", n, " ", p)); \\ Compute A263251 and A263253 at the same time.
    
  • Scheme
    (define (A263251 n) (A263087 (+ n n 1)))

Formula

a(n) = A263087(2*n + 1).

A263278 a(n) = length of n-th run of even terms in A259934.

Original entry on oeis.org

21, 8480, 18162, 78495, 1194707, 1426107, 6029619, 325034101
Offset: 1

Views

Author

Antti Karttunen, Nov 08 2015

Keywords

Crossrefs

Bisection of A263277.
Cf. also A263253.

Programs

Formula

a(n) = A263277((2*n)-1).
Showing 1-5 of 5 results.