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!)
A261415 The maximal midpoint-free set Z_7^{+}{0,1,3}. 0
0, 1, 3, 7, 8, 10, 21, 22, 24, 49, 50, 52, 56, 57, 59, 70, 71, 73, 147, 148, 150, 154, 155, 157, 168, 169, 171, 343, 344, 346, 350, 351, 353, 364, 365, 367, 392, 393, 395, 399, 400, 402, 413, 414, 416, 490, 491, 493, 497, 498, 500, 511, 512, 514 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The sequence consists of the numbers that expressed in base 7 contain only the digits 0, 1 and 3. - Giovanni Resta, Aug 26 2015
LINKS
Roger B. Eggleton, Maximal Midpoint-Free Subsets of Integers, International Journal of Combinatorics, Volume 2015, Article ID 216475, 14 pages.
MATHEMATICA
Select[Range[0, 1000], Union[ IntegerDigits[#, 7], {0, 1, 3}] == {0, 1, 3} &] (* Giovanni Resta, Aug 26 2015 *)
PROG
(PARI) is(n)=#setunion(Set(digits(n, 7)), [0, 1, 3])==3 \\ Charles R Greathouse IV, Feb 15 2017
CROSSREFS
Sequence in context: A316493 A213650 A283759 * A331547 A285164 A106753
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Aug 25 2015
EXTENSIONS
More terms from Giovanni Resta, Aug 26 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 April 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)