1,3

A098719 gives the positions of ones in this sequence. See also comments in A324383.

Antti Karttunen, Table of n, a(n) for n = 1..10001 (based on the b-file of A025487 as computed by Will Nicholes and Franklin T. Adams-Watters)

Index entries for sequences related to primorial base

Index entries for sequences related to primorial numbers

a(n) = A276150(A025487(n)).

(PARI)

A276150(n) = { my(s=0, m); forprime(p=2, , if(!n, return(s)); m = n%p; s += m; n = (n-m)/p); };

A324387(n) = A276150(A025487(n));

Cf. A002110, A025487, A098719 (positions of ones), A276150, A324342.

Cf. A324382 for a subsequence, and A324383, A324386 for permutations of this sequence.

Sequence in context: A262346 A242560 A204596 * A163373 A117193 A325707

Adjacent sequences: A324384 A324385 A324386 * A324388 A324389 A324390

nonn

Antti Karttunen, Feb 27 2019

approved