Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072959
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A072959
%S A072959 515904,11318,15216,10799546,129618,125258,14118,10211981,2839691,
%T A072959 282506,14729,78236429,299309045,212445531527,68884716992,2457249197,
%U A072959 7503281492,5427065792075,55893641747,150135668600,299310469
%N A072959 a(n) = the name of n evaluated in base 27, using blank=0, hyphen=0, A=1, 
               B=2,... Z=26.
%C A072959 English name for the number n transliterated into Lee Sallows' base-27 
               system.
%D A072959 M. J. Halm, Sequences (Re)discovered, Mpossibilities 81 (Aug. 2002).
%H A072959 M. J. Halm, <a href="http://michaelhalm.tripod.com/jootsy.htm">Jootsy 
               Calculus</a>.
%F A072959 In Sallows' system, space = 0, A = 1, B = 2, etc. to Z = 26, so that 
               words and phrases, even number names, can be transformed into numbers
%e A072959 a(1) = 11318 because o(729) + n(27) + e = 10935 + 378 + 5 = 11318
%e A072959 a(2) = 15216 because "TWO" in base 27 gives 20*27^2+23*27+15 = 15216.
%p A072959 (Maple code from R. J. Mathar)
%p A072959 lSallow27 := proc(s)
%p A072959 local a,i,c ;
%p A072959 a := 0 ;
%p A072959 for i from 1 to length(s) do
%p A072959 c := substring(s,i) ;
%p A072959 if c = " " then
%p A072959 a := 27*a ;
%p A072959 else
%p A072959 a := 27*a + StringTools[Ord](c) -96 ;
%p A072959 fi;
%p A072959 od:
%p A072959 a ;
%p A072959 end:
%p A072959 enums := ["one","two","three","four","five","six","seven","eight","nine",
               "ten",
%p A072959 "eleven","twelve", "thirteen","fourteen","fifteen","sixteen","seventeen",
%p A072959 "eighteen","nineteen","twenty"]:
%p A072959 for i from 1 to nops(enums) do
%p A072959 printf("%d %d\n",i, lSallow27(enums[i])) ;
%p A072959 od:
%Y A072959 Sequence in context: A138207 A068816 A087096 this_sequence A048527 A157803 
               A013695
%Y A072959 Adjacent sequences: A072956 A072957 A072958 this_sequence A072960 A072961 
               A072962
%K A072959 easy,nonn,word
%O A072959 1,1
%A A072959 Michael Joseph Halm (hierogamous(AT)lycos.com), Aug 13 2002
%E A072959 The old version of this sequence was wrong. Don Reble (djr(AT)nk.ca) 
               and R. J. Mathar (mathar(AT)strw.leidenuniv.nl) supplied a corrected 
               version. Edited by N. J. A. Sloane, Sep 20 2009

    
page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research