login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088143 Find the shortest prefix of Pi-3 = .141592653589793238462643383279502.. which is divisible by n and divide by n. 1
1, 7, 47, 35398, 283, 23598775598298873, 2, 17699, 15732517, 1415926535897932384626433832795, 12872, 117993877991494365385536152732919, 1089174258383, 1, 943951, 88495408493620774, 8328979622929, 7866258532766291, 7452244925778591498 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(152) has 1218 digits, so is too large for a b-file. - Robert Israel, Sep 19 2019

LINKS

Robert Israel, Table of n, a(n) for n = 1..151

EXAMPLE

1/1 = 1, 14/2 = 7, 141/3 = 47, 141592/4 = 35398, 1415/5 = 283,...

MAPLE

F:= floor((Pi-3)*10^10000):

Prefs:= [seq(floor(F/10^(10000-i)), i=1..10000)]:

f:= proc(n) local i;

for i from 1 to nops(Prefs) do if Prefs[i] mod n = 0 then return Prefs[i]/n fi od:

FAIL

end proc:

map(f, [$1..151]); # Robert Israel, Sep 19 2019

CROSSREFS

Cf. A000796.

Sequence in context: A020465 A092480 A292067 * A124880 A227100 A240334

Adjacent sequences:  A088140 A088141 A088142 * A088144 A088145 A088146

KEYWORD

base,nonn

AUTHOR

N. J. A. Sloane, Nov 03 2003

EXTENSIONS

Corrected and extended by Ray Chandler and Vladeta Jovovic, Nov 06 2003

Name corrected by Robert Israel, Sep 19 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 7 09:16 EDT 2020. Contains 336274 sequences. (Running on oeis4.)