A093029 Indices of terms in A093019 with value 9.
5, 10, 29, 34, 48, 53, 67, 72, 86, 91, 109, 114, 128, 133, 147, 152, 166, 171, 185, 190, 208, 213, 227, 232, 246, 251, 265, 270, 289, 294, 307, 312, 326, 331, 345, 350, 369, 374, 388, 393, 406, 411, 425, 430, 449, 454, 468, 473, 487, 492, 500, 519, 524, 538
Offset: 1
Examples
10 is in the sequence because A093019(10)=9; 109 has a valid Luhn mod 10 check digit.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
- John Kilgo, Using the Luhn Algorithm, DotNetJohn.com.
- Webopedia, Luhn formula
- Wikipedia, Luhn algorithm
- Index entries for sequences related to decimal expansion of n
Programs
-
Haskell
a093029 n = a093029_list !! (n-1) a093029_list = filter ((== 9) . a093019) [0..] -- Reinhard Zumkeller, Nov 08 2014
Formula
A093019(a(n)) = 9. - Reinhard Zumkeller, Nov 08 2014
Extensions
Offset changed by Reinhard Zumkeller, Nov 08 2014
Comments