Jump to content

Talk:Verhoeff algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by AnandKumria (talk | contribs) at 15:41, 24 September 2006 (verhoeff algorithm may not be correct on wikipedia). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Is this algorithm correct?

According to [1], 3170092 is also a valid number.

Using the algorithm here, that becomes:

  i    ni    p(i,ni)  previous
c
new c =
d(c,p(i,ni))
02202
19421
20516
30863
47836
51269
63396

Which one is incorrect? The wikiarticle? The other article? The fact that 3170092 is a valid number? Or have I made a mistake?