login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081112 Let s(x)=floor(Pi*x); sequence gives the least k such that n divides s^k(n) where s^k(x) denotes s(s(s..s(x))..) k times, or 0 if no such k exists. 0
1, 1, 1, 1, 1, 1, 1, 7, 7, 5, 12, 20, 11, 54, 10, 15, 20, 19, 43, 30, 18, 5, 55, 25, 63, 28, 21, 29, 15, 22, 5, 85, 18, 34, 41, 81, 16, 14, 13, 15, 32, 49, 22, 5, 165, 10, 25, 9, 84, 99, 18, 129, 10, 41, 146, 35, 9, 39, 50, 40, 16, 59, 63, 65, 19, 258, 136, 115, 11, 15, 169, 26 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,8

LINKS

Table of n, a(n) for n=1..72.

PROG

(PARI) a(n)=if(n<0, 0, s=n; c=1; while(floor(s*Pi)%n>0, s=floor(s*Pi); c++); c)

CROSSREFS

Sequence in context: A021932 A244675 A065472 * A096151 A021567 A019619

Adjacent sequences:  A081109 A081110 A081111 * A081113 A081114 A081115

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Apr 15 2003

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 December 15 11:05 EST 2018. Contains 318148 sequences. (Running on oeis4.)