Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121060
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121060 Sum of the first n digits to the right of the decimal expansion of 1/n. +0
1
0, 5, 9, 7, 2, 31, 28, 8, 9, 1, 45, 38, 54, 61, 84, 13, 72, 85, 81, 5, 92, 94, 99, 131, 4, 111, 90, 123, 126, 87, 108, 11, 48, 146, 157, 240, 108, 164, 115, 7, 144, 184, 180, 191, 88, 200, 207, 142, 204, 2, 217, 228, 252, 247, 243, 249, 251, 253, 261, 349, 270, 217, 246 (list; graph; listen)
OFFSET

1,2

COMMENT

First occurrence of k or -1 if not present: 1,10,5,-1,25,2,-1,4,8,3,-1,32,-1,16,-1,-1,-1,-1,-1,64,-1,-1,-1,128,-1,256,...,. - Robert G. Wilson v Aug 17 2006.

EXAMPLE

a(2)=5 because 1/2=.50 and 5+0=5.

a(3)=9 because 1/3=.3333... and 3+3+3=9.

a(7)=28 because 1/7=0.14285714285714... and 1+4+2+8+5+7+1=28.

MATHEMATICA

f[n_] := If[n == 1, 0, Plus @@ IntegerDigits[Floor[10^n/n]]]; Array[f, 63] (* Robert G. Wilson v, Aug 17 2006 *)

CROSSREFS

Sequence in context: A117605 A073003 A087498 this_sequence A021630 A079459 A118309

Adjacent sequences: A121057 A121058 A121059 this_sequence A121061 A121062 A121063

KEYWORD

nonn,base

AUTHOR

Gil Broussard (gilbroussard(AT)bellsouth.net), Aug 09 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research