login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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