%I A007093 M0511
%S A007093 0,1,2,3,4,5,6,10,11,12,13,14,15,16,20,21,22,23,24,25,26,30,31,32,33,
%T A007093 34,35,36,40,41,42,43,44,45,46,50,51,52,53,54,55,56,60,61,62,63,64,65,
%U A007093 66,100,101,102,103,104,105,106,110,111,112,113,114,115,116,120,121
%N A007093 Numbers in base 7.
%D A007093 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences,
Academic Press, 1995 (includes this sequence).
%F A007093 a(0)=0 a(n)=10*a(n/7) if n==0 (mod 7) a(n)=a(n-1)+1 otherwise. - Benoit
Cloitre, Dec 22, 2002
%t A007093 Table[ FromDigits[ IntegerDigits[n, 7]], {n, 0, 66}]
%o A007093 (PARI) a(n)=if(n<1,0,if(n%7,a(n-1)+1,10*a(n/7)))
%Y A007093 Cf. A000042, A007088, A007089, A007090, A007091, A007092, A007094 & A007095.
%Y A007093 Sequence in context: A143693 A143694 A037476 this_sequence A047423 A032970
A137691
%Y A007093 Adjacent sequences: A007090 A007091 A007092 this_sequence A007094 A007095
A007096
%K A007093 nonn
%O A007093 0,3
%A A007093 N. J. A. Sloane (njas(AT)research.att.com), Robert G. Wilson v (rgwv(AT)rgwv.com)
|