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!)
A043913 Numbers k such that 0 and 3 occur juxtaposed in the base-7 representation of k but not of k+1. 0
21, 52, 70, 101, 119, 153, 168, 199, 217, 248, 266, 297, 315, 346, 370, 395, 413, 444, 462, 496, 511, 542, 560, 591, 609, 640, 658, 689, 713, 738, 756, 787, 805, 839, 854, 885, 903, 934, 952, 983, 1001, 1077, 1081, 1099, 1130 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
jQ[n_]:=Module[{idn7=IntegerDigits[n, 7]}, Max[SequenceCount[idn7, {0, 3}], SequenceCount[idn7, {3, 0}]]>0]; Transpose[ SequencePosition[ Table[ If[ jQ[n], 1, 0], {n, 1200}], {1, 0}]][[1]] (* The program uses the SequenceCount and SequencePosition functions from Mathematica version 10 *) (* Harvey P. Dale, Oct 26 2015 *)
CROSSREFS
Cf. A007093.
Sequence in context: A176588 A043133 A039310 * A280914 A347837 A304517
KEYWORD
nonn,base
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 May 13 01:02 EDT 2024. Contains 372497 sequences. (Running on oeis4.)