[go: up one dir, main page]

login
Revision History for A322001 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Digits of n interpreted in factorial base: a(Sum d_k*10^k) = Sum d_k*k!
(history; published version)
#8 by N. J. A. Sloane at Sat Dec 01 08:57:10 EST 2018
STATUS

editing

approved

#7 by N. J. A. Sloane at Sat Dec 01 08:56:53 EST 2018
COMMENTS

More terms as than usual are given to distinguish the sequence from A081594, A028897 and A244158, which agree up to a(99). The last two correspond to k! replaced by 2^k resp. Catalan(k).

STATUS

proposed

editing

Discussion
Sat Dec 01
08:57
N. J. A. Sloane: as -> than
#6 by Amiram Eldar at Wed Nov 28 02:56:26 EST 2018
STATUS

editing

proposed

#5 by Amiram Eldar at Wed Nov 28 02:56:23 EST 2018
MATHEMATICA

a[n_] := Module[{d=Reverse@IntegerDigits[n]}, Sum[d[[i]]*i!, {i, 1, Length[d]}]]; Array[a, 100, 0] (* Amiram Eldar, Nov 28 2018 *)

STATUS

proposed

editing

#4 by M. F. Hasler at Tue Nov 27 14:35:21 EST 2018
STATUS

editing

proposed

#3 by M. F. Hasler at Tue Nov 27 14:32:20 EST 2018
NAME

allocated for M. F. Hasler

Digits of n interpreted in factorial base: a(Sum d_k*10^k) = Sum d_k*k!

DATA

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 6

OFFSET

0,3

COMMENTS

More terms as usual are given to distinguish the sequence from A081594, A028897 and A244158, which agree up to a(99). The last two correspond to k! replaced by 2^k resp. Catalan(k).

This is a left inverse to A007623 (factorial base representation of n): A322001(A007623(n)) = n for all n >= 0. One could imagine variants which have a(n) = 0 or a(n) = -1 if n is not a term of A007623. Restricted to the range of A007623, it is also a right inverse to A007623, at least up to the 10 digit terms, beyond which A007623 becomes non-injective.

PROG

(PARI) A322001(n)=sum(i=1, #n=Vecrev(digits(n)), n[i]*i!) \\ M. F. Hasler, Nov 27 2018

CROSSREFS

Cf. A007623 (right inverse), A081594, A028897, A244158.

KEYWORD

allocated

nonn,base

AUTHOR

M. F. Hasler, Nov 27 2018

STATUS

approved

editing

Discussion
Tue Nov 27
14:35
M. F. Hasler: a(100) = 6 is the first digit that differs with A081594, A028897 and A244158. Simply stated, this is "Read (not: write!) n in factorial base". Among others motivated for clarification of the slightly obscure"concatenation" sequences A085215, A085219.
#2 by M. F. Hasler at Fri Nov 23 20:44:21 EST 2018
KEYWORD

allocating

allocated

#1 by M. F. Hasler at Fri Nov 23 20:44:21 EST 2018
NAME

allocated for M. F. Hasler

KEYWORD

allocating

STATUS

approved