

A171918


Van Eck sequence (cf. A181391) starting with a(1) = 8.


9



8, 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, 47, 0, 4, 24, 0, 3, 7, 0, 3, 3, 1, 49, 0, 5, 22, 0, 3, 7, 11, 22, 5, 7, 4, 20, 0, 9, 46, 0, 3, 12, 0, 3, 3, 1, 23, 0, 5, 16, 0, 3, 7, 19, 0, 4
(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(nk) = a(n) } or 0 if this set is empty.  M. F. Hasler, Jun 12 2019


LINKS

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


FORMULA

a(n+1) = A181391(n) up to the first occurrence of a(1) = 8 in A181391.  M. F. Hasler, Jun 15 2019


PROG

(PARI) A171918_vec(N, a=8, i=Map())={vector(N, n, a=if(n>1, iferr(nmapget(i, a), E, 0)+mapput(i, a, n), a))} \\ M. F. Hasler, Jun 11 2019


CROSSREFS

Cf. A181391, A171911, ..., A171917 (same but starting with 0, 1, ..., 7).
Sequence in context: A221890 A047758 A186980 * A265117 A279418 A157244
Adjacent sequences: A171915 A171916 A171917 * A171919 A171920 A171921


KEYWORD

nonn


AUTHOR

N. J. A. Sloane, Oct 22 2010


EXTENSIONS

Name edited and crossreferences added by M. F. Hasler, Jun 12 2019


STATUS

approved



