The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A044572 Numbers n such that string 0,4 occurs in the base 8 representation of n but not of n+1. 1

%I #10 Apr 05 2015 14:27:06

%S 68,132,196,260,324,388,452,516,551,580,644,708,772,836,900,964,1028,

%T 1063,1092,1156,1220,1284,1348,1412,1476,1540,1575,1604,1668,1732,

%U 1796,1860,1924,1988,2052,2087,2116,2180,2244,2308

%N Numbers n such that string 0,4 occurs in the base 8 representation of n but not of n+1.

%H Harvey P. Dale, <a href="/A044572/b044572.txt">Table of n, a(n) for n = 1..1000</a>

%t Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n,8],{0,4}]>0,1,0],{n,2400}],{1,0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10.1 *) (* _Harvey P. Dale_, Apr 05 2015 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_

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.

Last modified November 29 20:40 EST 2023. Contains 367447 sequences. (Running on oeis4.)