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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171917 Van Eck sequence (cf. A181391) starting with a(1) = 7. 1
7, 0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3, 0, 3, 2, 9, 0, 4, 9, 3, 6, 14, 0, 6, 3, 5, 15, 0, 5, 3, 5, 2, 17, 0, 6, 11, 0, 3, 8, 0, 3, 3, 1, 42, 0, 5, 15, 20, 0, 4, 32, 0, 3, 11, 18, 0, 4, 7, 66, 0, 4, 4, 1, 20, 16, 0, 6, 32, 17, 36, 0, 5, 26, 0, 3, 22, 0, 3, 3, 1, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A van Eck sequence is defined recursively by a(n+1) = min { k > 0 | a(n-k) = a(n) } or 0 if this set is empty. - M. F. Hasler, Jun 15 2019

LINKS

Table of n, a(n) for n=1..90.

FORMULA

a(n+1) = A181391(n) until the first occurrence of a(1) = 7 in A181391. - M. F. Hasler, Jun 15 2019

PROG

(PARI) A171917_vec(N, a=7, i=Map())={vector(N, n, a=if(n>1, iferr(n-mapget(i, a), E, 0)+mapput(i, a, n), a))} \\ M. F. Hasler, Jun 15 2019

CROSSREFS

Cf. A181391, A171911, ..., A171918 (same but starting with 0, 1, ..., 8).

Sequence in context: A306755 A005070 A135435 * A198919 A019933 A132712

Adjacent sequences:  A171914 A171915 A171916 * A171918 A171919 A171920

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Oct 22 2010

EXTENSIONS

Name edited and cross-references added by M. F. Hasler, Jun 15 2019

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 October 17 14:45 EDT 2019. Contains 328114 sequences. (Running on oeis4.)