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.

A353631 Arithmetic derivative of primorial base exp-function, reduced modulo 4, computed for odd numbers.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, May 01 2022

Keywords

Comments

Run lengths seem to be given by sequence 3, 3, 3, 3, 6, 3, 3, 3, 6, 3, 3, 3, 6, 3, 3, 3, 6, 3, 3, 3, 6, etc., with initially starting with four runs of length 3, followed by a run of length 6, after which periodically with always three runs of length three followed by one run of six terms (that are always 1's).

Crossrefs

Odd bisection of A353630.
Cf. also A353641.

Programs

  • PARI
    A353630(n) = { my(s=0, m=1, p=2, e); while(n, e = (n%p); m *= (p^e); s += (e/p); n = n\p; p = nextprime(1+p)); ((s*m)%4); };
    A353631(n) = A353630(n+n+1);

Formula

a(n) = A353630(2*n+1) = A010873(A327860(2*n+1)).