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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060283 Periodic part of decimal expansion of reciprocal of n-th prime (leading 0's moved to end). 10
0, 3, 0, 142857, 90, 769230, 5882352941176470, 526315789473684210, 4347826086956521739130, 3448275862068965517241379310, 322580645161290, 270, 24390, 232558139534883720930, 2127659574468085106382978723404255319148936170 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

T. D. Noe, Table of n, a(n) for n=1..100

EXAMPLE

1/11 = .09090909..., so a(5) = 90.

PROG

(PARI) a(n)=t=iferr(znorder(Mod(10, n)), E, 0); d=(10^t-1)/n; s=t-#Str(d); if(s, d*10^s, d)

forprime(i=1, 1e2, print1(a(i)", ")) \\ Lear Young, Mar 01 2014

CROSSREFS

Cf. A036275, A060251.

Sequence in context: A013244 A076951 A060282 * A078529 A121383 A180017

Adjacent sequences:  A060280 A060281 A060282 * A060284 A060285 A060286

KEYWORD

nonn,easy,base

AUTHOR

N. J. A. Sloane, Mar 30 2001

EXTENSIONS

More terms from Klaus Brockhaus, Mar 30 2001

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified October 22 08:28 EDT 2014. Contains 248388 sequences.