Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A007094
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A007094 Numbers in base 8.
(Formerly M0498)
+0
22
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, 31, 32, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 70, 71, 72, 73, 74, 75, 76, 77, 100, 101, 102, 103, 104, 105 (list; graph; listen)
OFFSET

0,3

REFERENCES

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

FORMULA

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

MATHEMATICA

Table[ FromDigits[ IntegerDigits[n, 8]], {n, 0, 70}]

PROGRAM

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

CROSSREFS

Cf. A057104.

Cf. A057104, A000042, A007088, A007089, A007090, A007091, A007092, A007093 & A007095.

Adjacent sequences: A007091 A007092 A007093 this_sequence A007095 A007096 A007097

Sequence in context: A039269 A039207 A039155 this_sequence A000433 A031492 A035060

KEYWORD

nonn,easy,base

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), 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 November 8 20:39 EST 2009. Contains 166234 sequences.


AT&T Labs Research