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!)
A262575 Concatenation of the numbers from 1 to n but omitting 5. 2
1, 12, 123, 1234, 12346, 123467, 1234678, 12346789, 1234678910, 123467891011, 12346789101112, 1234678910111213, 123467891011121314, 12346789101112131415, 1234678910111213141516, 123467891011121314151617, 12346789101112131415161718, 1234678910111213141516171819, 123467891011121314151617181920 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The only primes among the first 98 terms are 123467891011 and 123467891011121314151617. See A262552 for further primes in this sequence.
LINKS
MATHEMATICA
DeleteDuplicates[Table[FromDigits[Flatten[IntegerDigits[Complement[Range[n], {5}]]]], {n, 20}]] (* Robert Price, Nov 05 2018 *)
Join[{1, 12, 123, 1234}, Table[FromDigits[Flatten[IntegerDigits/@Drop[Range[n], {5}]]], {n, 6, 20}]] (* Harvey P. Dale, Jan 28 2024 *)
CROSSREFS
See A262300 for more about this problem.
For primes see A262552.
Sequence in context: A132943 A262576 A362119 * A187871 A187869 A362117
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 25 2015
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 May 2 19:04 EDT 2024. Contains 372203 sequences. (Running on oeis4.)