login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030588 Write odd numbers in base 6 and juxtapose. 16
1, 3, 5, 1, 1, 1, 3, 1, 5, 2, 1, 2, 3, 2, 5, 3, 1, 3, 3, 3, 5, 4, 1, 4, 3, 4, 5, 5, 1, 5, 3, 5, 5, 1, 0, 1, 1, 0, 3, 1, 0, 5, 1, 1, 1, 1, 1, 3, 1, 1, 5, 1, 2, 1, 1, 2, 3, 1, 2, 5, 1, 3, 1, 1, 3, 3, 1, 3, 5, 1, 4, 1, 1, 4, 3, 1, 4, 5, 1, 5, 1, 1, 5, 3, 1, 5, 5, 2, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
From Antti Karttunen, Dec 26 2018: (Start)
The first twelve odd numbers and their base-6 representations (A007092) are:
1 1
3 3
5 5
7 11
9 13
11 15
13 21
15 23
17 25
19 31
21 33
23 35
thus the sequence begins with terms 1, 3, 5, 1, 1, 1, 3, 1, 5, 2, 1, 2, 3, 2, 5, 3, 1, 3, 3, 3, 5.
(End)
MATHEMATICA
Flatten[Table[IntegerDigits[2n - 1, 6], {n, 50}]] (* Harvey P. Dale, Jul 22 2012 *)
PROG
(PARI)
up_to = 100000;
A030588list(up_to) = { my(v=vector(up_to), ds=List([]), o=1, j=1); for(i=1, up_to, if(j>#ds, ds=digits(o, 6); j=1; o+=2); v[i] = ds[j]; j++); (v); };
v030588 = A030588list(up_to);
A030588(n) = v030588[n]; \\ Antti Karttunen, Dec 24 2018
(Scala) (1 to 99 by 2).map(Integer.toString(_, 6).toCharArray).flatten // Alonso del Arte, Apr 02 2020
CROSSREFS
Cf. A007092.
Sequence in context: A091717 A355815 A154512 * A307860 A123701 A143303
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 22 00:17 EDT 2024. Contains 371886 sequences. (Running on oeis4.)