OFFSET
1,1
EXAMPLE
a(3)=21 because it is the first integer divisible by 7 which is obtained from the beginning of the unused part of the decimal expansion of square root 2.
PROG
(PARI)
SeqDigits(v, pred)={my(L=List(), k=1); for(i=1, #v, my(t=fromdigits(v[k..i])); if(pred(t), listput(L, t); k=i+1)); Vec(L)}
{ localprec(400); SeqDigits(digits(floor(sqrt(2)*10^250)), t->t%7==0) } \\ Andrew Howroyd, Nov 06 2019
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Serhat Sevki Dincer (mesti_mudam(AT)yahoo.com), Oct 04 2004
EXTENSIONS
Terms a(9) and beyond from Andrew Howroyd, Nov 06 2019
STATUS
approved