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!)
A093029 Indices of terms in A093019 with value 9. 13
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Integers which require a following 9 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)) = 9. - Reinhard Zumkeller, Nov 08 2014
EXAMPLE
10 is in the sequence because A093019(10)=9; 109 has a valid Luhn mod 10 check digit.
PROG
(Haskell)
a093029 n = a093029_list !! (n-1)
a093029_list = filter ((== 9) . a093019) [0..]
-- Reinhard Zumkeller, Nov 08 2014
CROSSREFS
Sequence in context: A240515 A105862 A338662 * A105505 A005514 A069921
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)