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!)
A093024 Indices of terms in A093019 with value 4. 1
3, 17, 22, 36, 41, 55, 60, 79, 84, 98, 102, 116, 121, 135, 140, 159, 164, 178, 183, 197, 201, 215, 220, 239, 244, 258, 263, 277, 282, 296, 300, 319, 324, 338, 343, 357, 362, 376, 381, 395, 404, 418, 423, 437, 442, 456, 461, 475, 480, 499, 507, 512, 526, 531 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Integers which require a following 4 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)) = 4. - Reinhard Zumkeller, Nov 08 2014
EXAMPLE
17 is in the sequence because A093019(17)=4; 174 has a valid Luhn mod 10 check digit.
PROG
(Haskell)
a093024 n = a093024_list !! (n-1)
a093024_list = filter ((== 4) . a093019) [0..]
-- Reinhard Zumkeller, Nov 08 2014
CROSSREFS
Sequence in context: A273448 A298469 A173579 * A109990 A019369 A019380
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 March 28 08:22 EDT 2024. Contains 371236 sequences. (Running on oeis4.)