[go: up one dir, main page]

login
A093022
Indices of terms in A093019 with value 2.
1
4, 18, 23, 37, 42, 56, 61, 75, 80, 99, 103, 117, 122, 136, 141, 155, 160, 179, 184, 198, 202, 216, 221, 235, 240, 259, 264, 278, 283, 297, 301, 315, 320, 339, 344, 358, 363, 377, 382, 396, 400, 419, 424, 438, 443, 457, 462, 476, 481, 495, 508, 513, 527, 532
OFFSET
1,1
COMMENTS
Integers which require a following 2 to have a valid Luhn mod 10 check digit.
FORMULA
A093019(a(n)) = 2. - Reinhard Zumkeller, Nov 08 2014
EXAMPLE
18 is in the sequence because A093019(18)=2; 182 has a valid Luhn mod 10 check digit.
PROG
(Haskell)
a093022 n = a093022_list !! (n-1)
a093022_list = filter ((== 2) . a093019) [0..]
-- Reinhard Zumkeller, Nov 08 2014
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Ray Chandler, Apr 03 2004
EXTENSIONS
Offset changed by Reinhard Zumkeller, Nov 08 2014
STATUS
approved