[go: up one dir, main page]

login
A093023
Indices of terms in A093019 with value 3.
1
8, 13, 27, 32, 46, 51, 65, 70, 89, 94, 107, 112, 126, 131, 145, 150, 169, 174, 188, 193, 206, 211, 225, 230, 249, 254, 268, 273, 287, 292, 305, 310, 329, 334, 348, 353, 367, 372, 386, 391, 409, 414, 428, 433, 447, 452, 466, 471, 485, 490, 503, 517, 522, 536
OFFSET
1,1
COMMENTS
Integers which require a following 3 to have a valid Luhn mod 10 check digit.
FORMULA
A093019(a(n)) = 3. - Reinhard Zumkeller, Nov 08 2014
EXAMPLE
13 is in the sequence because A093019(13)=3; 133 has a valid Luhn mod 10 check digit.
PROG
(Haskell)
a093023 n = a093023_list !! (n-1)
a093023_list = filter ((== 3) . 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