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

A109162 a(1) = 1; for n > 1, a(n) = A019565(a(n-1)).

Original entry on oeis.org

1, 2, 3, 6, 15, 210, 10659, 54230826, 249853434654335387610276087
Offset: 1

Views

Author

Leroy Quet, Aug 18 2005

Keywords

Comments

After the initial 1, even-indexed terms are of the form 4k+2 (members of A016825) and odd-indexed terms are of the form 6k+3 (members of A016945). However, not all even terms after 2 are multiples of three, because not all odd-indexed terms are of the form 4k+3. For example, because a(11) is of the form 4k+1, a(12) cannot be a multiple of three. - Antti Karttunen, Jun 18 2017

Examples

			a(4) = 6, which is 110 in binary. So a(5) is the product of the primes corresponding to the 1's of 110, 3*5 = 15.
		

Crossrefs

Cf. A019565, A285320 (a left inverse).
The left edge of A285332 and A285333.
Cf. A153013, A328316 for similar iteration sequences, and also A376406, A376407, A376408.

Programs

  • Mathematica
    NestList[Times @@ Prime@ Flatten@ Position[#, 1] &@ Reverse@ IntegerDigits[#, 2] &, 1, 11] (* Michael De Vlieger, Aug 20 2017 *)

Extensions

More terms from Franklin T. Adams-Watters, Aug 29 2006

A376406 a(0) = 1, and for n > 0, a(n) = A019565(Sum_{i=0..n-1} a(i)), where A019565 is the base-2 exp-function.

Original entry on oeis.org

1, 2, 6, 14, 330, 10166, 12075690, 1174153011328084322, 73582975079922326904310062621361286633125176265747127754
Offset: 0

Views

Author

Antti Karttunen, Nov 04 2024

Keywords

Comments

a(9) has 272 digits and a(10) has 1523 digits.
The lexicographically earliest infinite sequence x for which A048675(x(n)) gives the partial sums of x (shifted right once). This follows because the "least k" condition in the alternative formula also ensures that each k is squarefree, as we have A097248(n) = A019565(A048675(n)) <= n for all n, with equivalence only when n is squarefree.
Compare also to A376408.

Examples

			Starting with a(0) = 1, we take partial sums of previous terms, and apply A019565 to get the next term, and in the rightmost column, we "unbox" that term by applying A048675 to get A376407(n), which thus gives the partial sums of a(0)..a(n-1):
a(0)                               = 1          -> 0
a(1) = A019565(1)                  = 2,         -> 1     = 1
a(2) = A019565(1+2)                = 6,         -> 3     = 1+2
a(3) = A019565(1+2+6)              = 14,        -> 9     = 1+2+6
a(4) = A019565(1+2+6+14)           = 330,       -> 23    = 1+2+6+14
a(5) = A019565(1+2+6+14+330)       = 10166,     -> 353   = 1+2+6+14+330
a(6) = A019565(1+2+6+14+330+10166) = 12075690,  -> 10519 = 1+2+6+14+330+10166
etc.
		

Crossrefs

Cf. A376407 (= A048675(a(n)), also gives the partial sums from its second term onward).
Subsequence of A005117.
Cf. also analogous sequences A002110 (for A276085), A093502 (for A056239), A376399 (for A276075).

Programs

  • PARI
    up_to = 12;
    A019565(n) = { my(m=1, p=1); while(n>0, p = nextprime(1+p); if(n%2, m *= p); n >>= 1); (m); };
    A376406list(up_to) = { my(v=vector(up_to), s=1); v[1]=1; for(n=2,up_to,v[n] = A019565(s); s += v[n]); (v); };
    v376406 = A376406list(1+up_to);
    A376406(n) = v376406[1+n];

Formula

a(n) = A019565(A376407(n)) = A019565(Sum_{i=0..n-1} a(i)).
a(0) = 1, and for n > 0, a(n) is the least k such that A048675(k) = a(n-1) + A048675(a(n-1)), where A048675 is the base-2 log-function.
For n > 0, a(n) <= a(n-1) * A019565(a(n-1)).

A376409 a(n) = A048675(A376408(n)); Partial sums of A376408.

Original entry on oeis.org

0, 1, 3, 9, 99, 353529, 274407373885532679, 2443417474326613595267894539584266773823049253134356679026035220285823429
Offset: 0

Views

Author

Antti Karttunen, Nov 04 2024

Keywords

Comments

a(8) has 407 digits, a(9) has 2804 digits.
By induction, it is easy to see that formula a(n) = A048675(A376408(n)) implies that from the second term onward, this sequence gives the partial sums of A376408, as A048675 is fully additive.

Crossrefs

Cf. also A376401 (an analogous sequence for A276075).

Programs

Formula

a(0) = 0; and for n >= 1, a(n) = a(n-1) + A376408(n-1) = Sum_{i=0..n-1} A376408(i).
Showing 1-3 of 3 results.