Skip to main content
added 28 characters in body
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

I'm trying to write a function ff.

example:

 f /@ Range[0, 52]

 (* ==> {A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,
   AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA} *)

f /@ (10^Range[8])

(* ==> {K,CW,ALM,NTQ,EQXE,BDWGO,UVXWK,HJUNYW} *)

How I do it?

I'm trying to write a function f.

example:

 f /@ Range[0, 52]

==>{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA}

f /@ (10^Range[8])

==>{K,CW,ALM,NTQ,EQXE,BDWGO,UVXWK,HJUNYW}

How I do it?

I'm trying to write a function f.

example:

 f /@ Range[0, 52]

 (* ==> {A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,
   AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA} *)

f /@ (10^Range[8])

(* ==> {K,CW,ALM,NTQ,EQXE,BDWGO,UVXWK,HJUNYW} *)

How I do it?

added 24 characters in body
Source Link
chyanog
  • 15.8k
  • 3
  • 41
  • 83

I'm trying to write a function f.

example:

 f /@ Range[0, 52]

==>{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA}

f /@ (10^Range[4]10^Range[8])

==>{K,CW,ALM,NTQ,EQXE,BDWGO,UVXWK,HJUNYW}

How I do it?

I'm trying to write a function f.

example:

 f /@ Range[0, 52]

==>{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA}

f /@ (10^Range[4])

==>{K,CW,ALM,NTQ}

How I do it?

I'm trying to write a function f.

example:

 f /@ Range[0, 52]

==>{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA}

f /@ (10^Range[8])

==>{K,CW,ALM,NTQ,EQXE,BDWGO,UVXWK,HJUNYW}

How I do it?

Source Link
chyanog
  • 15.8k
  • 3
  • 41
  • 83

Generate a Combination of letters by a number

I'm trying to write a function f.

example:

 f /@ Range[0, 52]

==>{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA}

f /@ (10^Range[4])

==>{K,CW,ALM,NTQ}

How I do it?