login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093026 Indices of terms in A093019 with value 6. 1
2, 16, 21, 35, 40, 59, 64, 78, 83, 97, 101, 115, 120, 139, 144, 158, 163, 177, 182, 196, 200, 219, 224, 238, 243, 257, 262, 276, 281, 295, 304, 318, 323, 337, 342, 356, 361, 375, 380, 399, 403, 417, 422, 436, 441, 455, 460, 479, 484, 498, 506, 511, 525, 530 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Integers which require a following 6 to have a valid Luhn mod 10 check digit.
LINKS
John Kilgo, Using the Luhn Algorithm, DotNetJohn.com.
Webopedia, Luhn formula
Wikipedia, Luhn algorithm
FORMULA
A093019(a(n)) = 6. - Reinhard Zumkeller, Nov 08 2014
EXAMPLE
16 is in the sequence because A093019(16)=6; 166 has a valid Luhn mod 10 check digit.
PROG
(Haskell)
a093026 n = a093026_list !! (n-1)
a093026_list = filter ((== 6) . a093019) [0..]
-- Reinhard Zumkeller, Nov 08 2014
CROSSREFS
Sequence in context: A082475 A333998 A081767 * A271627 A118954 A119599
KEYWORD
easy,nonn,base
AUTHOR
Ray Chandler, Apr 03 2004
EXTENSIONS
Offset changed by Reinhard Zumkeller, Nov 08 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)