0,3

Antti Karttunen, Table of n, a(n) for n = 0..10079

David Newman, et al., New sequences from old, Discussion on SeqFan-mailing list, January 2018.

Index entries for sequences related to factorial base representation

Index entries for sequences that are permutations of the natural numbers

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

(PARI)

A225901(n) = { my(s=0, d, k=2); while(n, d=n%k; n=n\k; if(d, s += (k-d)*(k-1)!); k=k+1); (s); };

A302852(n) = if(!n, n, 1+A225901(A225901(n)-1));

Cf. A302851 (inverse).

Cf. A225901.

Sequence in context: A010494 A333239 A078333 * A049605 A088395 A272082

Adjacent sequences: A302849 A302850 A302851 * A302853 A302854 A302855

nonn,base

Antti Karttunen, Apr 26 2018

approved