Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100825
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100825 In decimal representation: minimal number of editing steps (delete, insert, or substitute) to transform 2^n into its reversal. +0
1
0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 2, 6, 6, 4, 6, 4, 4, 4, 4, 6, 6, 8, 6, 8, 8, 8, 8, 8, 8, 8, 6, 6, 10, 12, 12, 8, 10, 10, 12, 10, 10, 14, 14, 14, 12, 12, 14, 12, 10, 14, 14, 16, 16, 16, 18, 14, 16, 16, 16, 14, 18, 16, 18, 18, 18, 18, 18, 16, 20, 20, 18, 22, 22, 22, 20, 18, 20 (list; graph; listen)
OFFSET

1,5

LINKS

Michael Gilleland, Levenshtein Distance [It has been suggested that this algorithm gives incorrect results sometimes. - N. J. A. Sloane (njas(AT)research.att.com)]

FORMULA

a(n) = LevenshteinDistance(A000079(n), A004094(n)).

EXAMPLE

n=19: 2^19 = 524288=[5]24288 -> 824288=[]824288 ->

8824288=882428[8] -> 882428=88242[8] -> 882425=A004094(19):

a(19) = #{subst[5->8], ins[8], del[8], subst[8->5]} = 4.

CROSSREFS

Sequence in context: A060447 A118177 A105069 this_sequence A008767 A105255 A140818

Adjacent sequences: A100822 A100823 A100824 this_sequence A100826 A100827 A100828

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jan 06 2005

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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research