[go: up one dir, main page]

login
A055150
The first n digits of the juxtaposition of the base 9 numbers converted to decimal.
8
1, 11, 102, 922, 8303, 74733, 672604, 6053444, 54480997, 490328973, 4412960758, 39716646823, 357449821408, 3217048392674, 28953435534067, 260580919806606, 2345228278259455, 21107054504335099, 189963490539015892
OFFSET
1,2
EXAMPLE
1 (1); 12 (11); 123 (102); 1234 (922); 12345 (8303); 123456 (74733); ...
PROG
(PARI) { cuo=0;
for(ixp=1, 14,
casi = ixp; cvst=0;
while(casi != 0,
cvd = casi%9; cvst=10*cvst + cvd + 1; casi = (casi - cvd) / 9 );
while(cvst !=0,
ptch = cvst%10; cuo=cuo*9+ptch-1; print1(cuo, ", "); cvst = (cvst - ptch) / 10 ) )} \\\ Douglas Latimer, Apr 23 2012
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Apr 15 2000.
STATUS
approved