login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A099203
Integers divisible by 7 which are sequentially obtained from the decimal expansion of sqrt(2) = 1.4142135...
1
14, 14, 21, 35, 623, 7, 30950488016, 88724209, 6980785, 69671, 875, 37694807317667973799073247846210703885038753432, 7, 641572735013, 84, 623, 0, 91, 229702492483605585073, 7, 21, 264412149709993583141322266592, 7, 50559275579995, 0, 50115278206, 0, 571470109
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
Sequence in context: A157427 A003905 A205702 * A040183 A022348 A214463
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