base 00, etc.Re: [no to] leading zeros / Quasipalindromes?

Don McDonald parabola at paradise.net.nz
Fri May 30 13:09:22 CEST 2003


In message <3ED6D002.6D97 at xyzzy.claranet.de> you write:
Frank:
> Marc LeBrun wrote:
> 
> > anagrams (amongst hundreds of others) just for "encyclopedia":
> >    
> In some sequences "base" is missing, most of this has to be
> addressed manually.

me:
.Calc.Profile.eisintegsq.Seqfan.BasEncyc

'ENCYC...' can be represented as a telephone word number
or base 100 or base 27.

example.

== LETTER values : C,A,T = 03,01,20.
(BASE 100, Alternate. base 27, telephone touch keypad)

(prob) -- #formula,--  value, --   FACTORS -- ,  (centiseconds).
---   
2  "encyclopedia"(telephone..keypad=
    362925673342= 2*53*71*83*283*2053*all 14cs

3  "encyclopedia"(base 27..A-Z =30707752466913400=
Accuracy?(2^2*5*5*19*2*984541*8207873prime 1mn

4  "encyclop"(base 100..=5,14,03,25,03,12,15,16
= 2^2*3*42836041926793prime 8mn

PLEASE ENTER)  numeric expression/no.,
?c
enter WORD (non-alpha chars not signif.) ,
 max 8x CAP letters ( base 100
?encyclop
e/ 5 th letter 5  base 100
n/ 14 th letter 514  base 100
c/ 3 th letter 51403  base 100
y/ 25 th letter 5140325  base 100
c/ 3 th letter 514032503  base 100
l/ 12 th letter 51403250312  base 100
o/ 15 th letter 5140325031215  base 100
p/ 16 th letter 514032503121516  base 100
"encyclop"(base 100 = 5.140E14   ****
"encyclop"(base 100 = 514032503121516 ****

e n d. prog c241Q  24.2.03   close *spool


  It starts to get weird for
> programs if the base for a "cons" is greater than 10, and then
> "base,cons" would be really useful.
> 
> Displaying a "cons" 13,14,10,13 as 13141013 would be too weird,
> if that's only a joke D,E,A,D with base 16 digits represented
> in decimal notation...
>

me:  example.
A= (0) 1
D= (0) 4
E= (0) 5...

BEGIN, ENTER START NUMBER (Expression),  Q. END
?&DEAD
(2) 57005  DISPLAY HEX ~ DEAD

DISPLAY BASE 27, A=1, Z=26, 4.1.2003
= BXEH  =  2,24,5,8, (BASE 27.)
(3) 57005  

BEGIN, ENTER START NUMBER (Expression),  Q. END
?4E6
(4) 4000000  DISPLAY COMMA'S (,000)
          4000,000       base 1000,
(5) 4000000  DISPLAY HEX ~ 3D0900

DISPLAY BASE 27, A=1, Z=26, 4.1.2003
= GNEZD  =  7,14,5,26,4, (BASE 27.)
(6) 4000000  

Q. PROGRAM  SERIcalc4S  E N D.

> ...in that special case "base,cons,word" could be used.  OTOH
> most constants are shown as decimal expansion, the binary case
> is rare, continued fractions have their own keyword, and other
> forms are very unusual (at least for constants).
> 
>
>                              Bye, Frank
/don.mcdonald
30.05.03  22:43.
pi search 713 999 99 99 317... palindrome.





More information about the SeqFan mailing list