cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A100825 In decimal representation: minimal number of editing steps (delete, insert, or substitute) to transform 2^n into its reversal.

This page as a plain text file.
%I A100825 #6 Mar 30 2012 18:50:48
%S A100825 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,
%T A100825 8,8,6,6,10,12,12,8,10,10,12,10,10,14,14,14,12,12,14,12,10,14,14,16,
%U A100825 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
%N A100825 In decimal representation: minimal number of editing steps (delete, insert, or substitute) to transform 2^n into its reversal.
%H A100825 Michael Gilleland, <a href="http://www.merriampark.com/ld.htm">Levenshtein Distance</a> [It has been suggested that this algorithm gives incorrect results sometimes. - _N. J. A. Sloane_]
%F A100825 a(n) = LevenshteinDistance(A000079(n), A004094(n)).
%e A100825 n=19: 2^19 = 524288=[5]24288 -> 824288=[]824288 ->
%e A100825 8824288=882428[8] -> 882428=88242[8] -> 882425=A004094(19):
%e A100825 a(19) = #{subst[5->8], ins[8], del[8], subst[8->5]} = 4.
%K A100825 nonn,base
%O A100825 1,5
%A A100825 _Reinhard Zumkeller_, Jan 06 2005