OFFSET
1,2
LINKS
Paul Tek, Table of n, a(n) for n = 1..10000
Paul Tek, PARI program for this sequence
EXAMPLE
a(7) = 16 as the concatenation 12365416 of first seven terms is a multiple of 7. No number less than 16 and more than 6 fits in.
MATHEMATICA
a[1] = 1; a[n_] := a[n] = Block[{t = 1}, While[Mod[FromDigits@ Flatten[IntegerDigits /@ Join[Array[a, n - 1], {t}]], n] != 0 || MemberQ[Array[a, n - 1], t], t++]; t]; Array[a, 68] (* Giorgos Kalogeropoulos, May 07 2023 *)
PROG
(PARI) See Link section.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Nov 27 2004
EXTENSIONS
More terms from Joshua Zucker, May 27 2005
STATUS
approved