Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A007091
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A007091 Numbers in base 5.
(Formerly M0595)
+0
24
0, 1, 2, 3, 4, 10, 11, 12, 13, 14, 20, 21, 22, 23, 24, 30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 100, 101, 102, 103, 104, 110, 111, 112, 113, 114, 120, 121, 122, 123, 124, 130, 131, 132, 133, 134, 140, 141, 142, 143, 144, 200, 201, 202, 203, 204, 210, 211, 212, 213 (list; graph; listen)
OFFSET

0,3

FORMULA

a(0)=0 a(n)=10*a(n/5) if n==0 (mod 5) a(n)=a(n-1)+1 otherwise. - Benoit Cloitre, Dec 22, 2002

MATHEMATICA

Table[ FromDigits[ IntegerDigits[n, 5]], {n, 0, 60}]

PROGRAM

(PARI) a(n)=if(n<1, 0, if(n%5, a(n-1)+1, 10*a(n/5)))

CROSSREFS

Cf. A000042, A007088, A007089, A007090, A007092, A007093, A007094 & A007095.

Sequence in context: A098892 A037325 A037469 this_sequence A058185 A080897 A117383

Adjacent sequences: A007088 A007089 A007090 this_sequence A007092 A007093 A007094

KEYWORD

nonn,base

AUTHOR

njas, Robert G. Wilson v (rgwv(AT)rgwv.com)

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research