%I A007095 M0490
%S A007095 0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,
%T A007095 28,30,31,32,33,34,35,36,37,38,40,41,42,43,44,45,46,47,48,50,51,52,53,
%U A007095 54,55,56,57,58,60,61,62,63,64,65,66,67,68,70,71,72,73,74,75,76,77,78
%N A007095 Numbers in base 9.
%C A007095 Also numbers without 9 as a digit.
%D A007095 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences,
Academic Press, 1995 (includes this sequence).
%F A007095 a(0)=0 a(n)=10*a(n/9) if n==0 (mod 9) a(n)=a(n-1)+1 otherwise. - Benoit
Cloitre, Dec 22, 2002
%t A007095 Table[ FromDigits[ IntegerDigits[n, 9]], {n, 0, 75}]
%o A007095 (PARI) a(n)=if(n<1,0,if(n%9,a(n-1)+1,10*a(n/9)))
%Y A007095 Cf. A037479, A004183, A004727.
%Y A007095 Cf. A037479, A004183, A004727, A000042, A007088, A007089, A007090, A007091,
A007092, A007093 & A007094.
%Y A007095 Sequence in context: A036741 A037479 A088481 this_sequence A020663 A043094
A023803
%Y A007095 Adjacent sequences: A007092 A007093 A007094 this_sequence A007096 A007097
A007098
%K A007095 nonn,base
%O A007095 0,3
%A A007095 N. J. A. Sloane (njas(AT)research.att.com), Robert G. Wilson v (rgwv(AT)rgwv.com)
|