seq: Sum of base 26 values of the English name of n

Maximilian Hasler maximilian.hasler at gmail.com
Mon Jun 30 00:42:56 CEST 2008


I suppose you use base 26 because there are 26 letters.
But from that pov I find it quite unnatural to give the value 0 to 'z'
and not to 'a'.
If the alphabet 'a..z' is to be coded with numbers 0..25, 'a' should
get the 0 and not the 1.

Also, your use of 'base 26' for 'z' seems rather to mean "modulo 26"
so the result should also be taken mod 26.
Then the "a=1" and "a=0" versions just differ by the number of letters
in the word (mod 26)

Maximilian

On Sun, Jun 29, 2008 at 17:32, Jonathan Post <jvospost3 at gmail.com> wrote:
(...)
> n   a(n) comment
> 0   38    z(base 26)+e(base 26)+r(base 26)+o(base 26) = 0+5+18+15 = 38
(...)





More information about the SeqFan mailing list