The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A256292 Numbers which have only digits 6 and 7 in base 10. 15
6, 7, 66, 67, 76, 77, 666, 667, 676, 677, 766, 767, 776, 777, 6666, 6667, 6676, 6677, 6766, 6767, 6776, 6777, 7666, 7667, 7676, 7677, 7766, 7767, 7776, 7777, 66666, 66667, 66676, 66677, 66766, 66767, 66776, 66777, 67666, 67667 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A007931(n) + A002279(A000523(n+1)) = A256291(n) + A256077(n) etc.
MATHEMATICA
Flatten[Table[FromDigits[#, 10]&/@Tuples[{6, 7}, n], {n, 5}]]
PROG
(Magma) [n: n in [1..35000] | Set(IntegerToSequence(n, 10)) subset {7, 6}];
(PARI) A256292(n)=vector(#n=binary(n+1)[2..-1], i, 10^(#n-i))*n~+10^#n\9*6
(Magma) [n: n in [1..100000] | Set(Intseq(n)) subset {6, 7}]; // Vincenzo Librandi, Aug 19 2016
CROSSREFS
Cf. A007088 (digits 0 & 1), A007931 (digits 1 & 2), A032810 (digits 2 & 3), A032834 (digits 3 & 4), A256290 (digits 4 & 5), A256291 (digits 5 & 6), A256340 (digits 7 & 8), A256341 (digits 8 & 9).
Sequence in context: A179885 A217548 A335734 * A042877 A219517 A232008
KEYWORD
nonn,base,easy
AUTHOR
M. F. Hasler, Mar 27 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 16 15:25 EDT 2024. Contains 372554 sequences. (Running on oeis4.)