The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A178358 Rounded up arithmetic mean of digits of n prepended to n, cf. A004427. 5
0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 111, 212, 213, 314, 315, 416, 417, 518, 519, 120, 221, 222, 323, 324, 425, 426, 527, 528, 629, 230, 231, 332, 333, 434, 435, 536, 537, 638, 639, 240, 341, 342, 443, 444, 545, 546, 647, 648, 749, 350, 351, 452, 453 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
A000030(a(n)) = A004427(a(n)) = A004427(n);
a(A178359(n)) = A178359(a(n));
subsequence of A178403.
LINKS
FORMULA
a(n) = A004427(n)*A011557(A055642(n)) + n.
EXAMPLE
n=8379 --> A004427(n) = ceiling((8+3+7+9)/4) = 7
--> a(8379) = 7*10^4 + 8379 = 78379.
MATHEMATICA
Table[Ceiling[Mean[IntegerDigits[n]]]*10^IntegerLength[n]+n, {n, 0, 100}] (* Harvey P. Dale, Apr 21 2019 *)
PROG
(Haskell)
a178358 n = read $ show (a004427 n) ++ show n :: Integer
-- Reinhard Zumkeller, Mar 17 2014
CROSSREFS
Sequence in context: A282151 A333614 A109052 * A044896 A048841 A059632
KEYWORD
base,nonn,look
AUTHOR
Reinhard Zumkeller, May 27 2010
STATUS
approved

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 June 4 17:49 EDT 2024. Contains 373102 sequences. (Running on oeis4.)