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!)
A043942 Numbers k such that 1 and 5 occur juxtaposed in the base-8 representation of k but not of k+1. 0
13, 41, 77, 111, 141, 169, 205, 233, 269, 297, 335, 361, 397, 425, 461, 489, 525, 553, 589, 623, 653, 681, 717, 745, 781, 809, 895, 909, 937, 973, 1001, 1037, 1065, 1101, 1135, 1165, 1193, 1229, 1257, 1293, 1321, 1359, 1385 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {1, 5}]>0||SequenceCount[IntegerDigits[n, 8], {5, 1}]>0, 1, 0], {n, 1500}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Jun 09 2016 *)
CROSSREFS
Cf. A007094.
Sequence in context: A039339 A031373 A043162 * A004624 A045473 A102083
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 April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)