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!)
A000433 n written in base where place values are positive cubes. 5

%I #33 Apr 06 2020 19:25:16

%S 0,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,30,

%T 31,32,100,101,102,103,104,105,106,107,110,111,112,113,114,115,116,

%U 117,120,121,122,123,124,125,126,127,130,131,132,200,201,202,203

%N n written in base where place values are positive cubes.

%C Let [d1, d2, d3, ...] be the decimal expansion of the n-th term, then dk is the number of times that the greedy algorithm subtracts the cube k^3 with input n. - _Joerg Arndt_, Nov 21 2014

%C For n > 1: A048766(n) = number of digits of a(n); A190311(n) = number of nonzero digits of a(n); A055401(n) = sum of digits of a(n). - _Reinhard Zumkeller_, May 08 2011

%C First differs from numbers written in base 8 (A007094) at a(27) = 100, whereas A007094(27) = 33. - _Alonso del Arte_, Nov 27 2014

%C The rightmost (least significant) digit never exceeds 7, the second digit from the right never exceeds 3, the third digit never exceeds 2, and the rest are just 0's and 1's. - _Ivan Neretin_, Sep 03 2015

%D Florentin Smarandache, "Properties of the Numbers", University of Craiova Archives, 1975; Arizona State University Special Collections, Tempe, AZ.

%H Reinhard Zumkeller, <a href="/A000433/b000433.txt">Table of n, a(n) for n = 0..10000</a>

%e a(26) = 32 because 26 = 3 * 2^3 + 2 * 1^3.

%e a(27) = 100 because 27 = 3^3 + 0 * 2^3 + 0 * 1^3.

%e a(28) = 101 because 28 = 3^3 + 0 * 2^3 + 1 * 1^3.

%o (Haskell)

%o import Data.Char (intToDigit)

%o a000433 0 = 0

%o a000433 n = read $ map intToDigit $

%o t n $ reverse $ takeWhile (<= n) $ tail a000578_list where

%o t _ [] = []

%o t m (x:xs)

%o | x > m = 0 : t m xs

%o | otherwise = (fromInteger m') : t r xs where (m',r) = divMod m x

%o -- _Reinhard Zumkeller_, May 08 2011

%Y Cf. A000578, A007961.

%K nonn,base,easy,look

%O 0,3

%A R. Muller

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 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)