login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Integers which require a following 2 to have a valid Luhn mod 10 check digit.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

John Kilgo, DotNetJohn.com, Using the Luhn Algorithm

Webopedia, Luhn formula

Wikipedia, Luhn_algorithm

Index entries for sequences related to decimal expansion of n

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

Cf. A093017-A093029.

Sequence in context: A230605 A201880 A022384 * A255409 A057342 A192195

Adjacent sequences:  A093019 A093020 A093021 * A093023 A093024 A093025

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 16:42 EDT 2019. Contains 323395 sequences. (Running on oeis4.)