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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A362119 Concatenate the base-6 strings for 1,2,...,n. 2
 1, 12, 123, 1234, 12345, 1234510, 123451011, 12345101112, 1234510111213, 123451011121314, 12345101112131415, 1234510111213141520, 123451011121314152021, 12345101112131415202122, 1234510111213141520212223, 123451011121314152021222324, 12345101112131415202122232425 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS The smallest prime occurs at n = 12891. - Michael S. Branicky, Apr 20 2023 The b-file has only 313 terms, since a(314) has 1001 digits. LINKS Michael S. Branicky, Table of n, a(n) for n = 1..313 MATHEMATICA A362119[n_]:=FromDigits[Flatten[IntegerDigits[Range[n], 6]]]; Array[A362119, 20] (* Paolo Xausa, Nov 27 2023 *) PROG (Python) from sympy.ntheory import digits from itertools import count, islice def agen(s="", base=6): yield from (int(s:=s+"".join(map(str, digits(n, base)[1:]))) for n in count(1)) print(list(islice(agen(), 20))) CROSSREFS Cf. A362118, A058935, A360502, A117640, A362117, A007908. Sequence in context: A262577 A132943 A262576 * A262575 A187871 A187869 Adjacent sequences: A362116 A362117 A362118 * A362120 A362121 A362122 KEYWORD nonn,base AUTHOR Michael S. Branicky and N. J. A. Sloane, Apr 19 2023 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.

Last modified September 11 14:49 EDT 2024. Contains 375836 sequences. (Running on oeis4.)