|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|