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.

A351566 Radix of the second least significant nonzero digit in the primorial base expansion of n, or 1 if there is no such digit.

Original entry on oeis.org

1, 1, 1, 3, 1, 3, 1, 5, 5, 3, 5, 3, 1, 5, 5, 3, 5, 3, 1, 5, 5, 3, 5, 3, 1, 5, 5, 3, 5, 3, 1, 7, 7, 3, 7, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3, 5, 3, 1, 7, 7, 3, 7, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3, 5, 3, 1, 7, 7, 3, 7, 3, 7, 5, 5, 3, 5, 3, 7, 5, 5, 3
Offset: 0

Views

Author

Antti Karttunen, Apr 01 2022

Keywords

Comments

The terms larger than one are given by the k-th prime (A000040), where k is the position of the second least significant nonzero digit in the primorial base expansion of n, counted from the right. See the example.

Examples

			For n = 13, its primorial base representation (see A049345) is "201" as 13 = 2*A002110(2) + 1*A002110(0). The one-based index of the second least significant nonzero digit ("2"), when counted from the right, is 3, therefore a(13) = A000040(3) = 5.
		

Crossrefs

Cf. A060735 (gives the positions of ones after the initial one at a(0)=1).

Programs

Formula

a(n) = A119288(A276086(n)).
For all n, a(n) > A351567(n).
If a(n) > 1, then a(n) > A053669(n).