login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304880 a(n) is the numerator of the smallest nonnegative fraction r such that round(10^d*r) = n, where d is the number of digits of n and Gaussian rounding (round half to even) is applied. 1

%I #5 May 20 2018 11:30:13

%S 0,1,1,2,3,1,5,2,3,6,2,2,3,12,5,9,9,1,7,5,8,8,20,16,4,13,25,22,11,2,

%T 18,18,23,27,33,29,27,23,3,37,32,32,22,37,37,41,41,20,19,33,1,50,17,

%U 52,38,6,5,13,23,55,25,23,8,62,47,20,19,2,27,37,57,55

%N a(n) is the numerator of the smallest nonnegative fraction r such that round(10^d*r) = n, where d is the number of digits of n and Gaussian rounding (round half to even) is applied.

%p # Function r is defined in A304879.

%p a := n -> numer(r(n)):

%p seq(a(n), n = 0..71);

%Y Cf. A304879.

%K nonn,frac

%O 0,4

%A _Peter Luschny_, May 20 2018

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 06:16 EDT 2024. Contains 371782 sequences. (Running on oeis4.)