login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093025 Indices of terms in A093019 with value 5. 2
7, 12, 26, 31, 45, 50, 69, 74, 88, 93, 106, 111, 125, 130, 149, 154, 168, 173, 187, 192, 205, 210, 229, 234, 248, 253, 267, 272, 286, 291, 309, 314, 328, 333, 347, 352, 366, 371, 385, 390, 408, 413, 427, 432, 446, 451, 465, 470, 489, 494, 502, 516, 521, 535 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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

LINKS

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

John Kilgo, Using the Luhn Algorithm, DotNetJohn.com.

Webopedia, Luhn formula

Wikipedia, Luhn algorithm

Index entries for sequences related to decimal expansion of n

FORMULA

A093019(a(n)) = 5. - Reinhard Zumkeller, Nov 08 2014

EXAMPLE

12 is in the sequence because A093019(12)=5; 125 has a valid Luhn mod 10 check digit.

PROG

(Haskell)

a093025 n = a093025_list !! (n-1)

a093025_list = filter ((== 5) . a093019) [0..]

-- Reinhard Zumkeller, Nov 08 2014

CROSSREFS

Cf. A093017-A093029.

Sequence in context: A273298 A273269 A273307 * A104584 A223417 A224699

Adjacent sequences:  A093022 A093023 A093024 * A093026 A093027 A093028

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 November 29 14:50 EST 2021. Contains 349416 sequences. (Running on oeis4.)