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!)
A164898 First differences of numbers having only odd digits in their decimal representation. 3

%I #7 Jan 24 2022 16:04:25

%S 2,2,2,2,2,2,2,2,2,12,2,2,2,2,12,2,2,2,2,12,2,2,2,2,12,2,2,2,2,12,2,2,

%T 2,2,12,2,2,2,2,12,2,2,2,2,12,2,2,2,2,12,2,2,2,2,112,2,2,2,2,12,2,2,2,

%U 2,12,2,2,2,2,12,2,2,2,2,12,2,2,2,2,112,2,2,2,2,12,2,2,2,2,12,2,2,2,2,12

%N First differences of numbers having only odd digits in their decimal representation.

%C a(n) = A014261(n+1) - A014261(n);

%C all terms are of the form (10^k + 8)/9, see A047855;

%C a(n) > 2 iff A014261(n) mod 10 = 9.

%H Robert Israel, <a href="/A164898/b164898.txt">Table of n, a(n) for n = 1..10000</a>

%p R[1]:= [1,3,5,7,9]:

%p for d from 2 to 3 do

%p R[d]:= map(t -> seq(10*t+i,i=[1,3,5,7,9]),R[d-1])

%p od:

%p B:= map(op,[seq(R[d],d=1..3)]):

%p B[2..-1]-B[1..-2]; # _Robert Israel_, Jan 24 2022

%t Differences[Select[Range[1000],Count[IntegerDigits[#],_?EvenQ]==0&]] (* _Harvey P. Dale_, Jan 03 2019 *)

%Y Cf. A014261.

%K nonn,base

%O 1,1

%A _Reinhard Zumkeller_, Aug 30 2009

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 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)