|
|
A164898
|
|
First differences of numbers having only odd digits in their decimal representation.
|
|
3
|
|
|
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, 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, 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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
all terms are of the form (10^k + 8)/9, see A047855;
a(n) > 2 iff A014261(n) mod 10 = 9.
|
|
LINKS
|
|
|
MAPLE
|
R[1]:= [1, 3, 5, 7, 9]:
for d from 2 to 3 do
R[d]:= map(t -> seq(10*t+i, i=[1, 3, 5, 7, 9]), R[d-1])
od:
B:= map(op, [seq(R[d], d=1..3)]):
|
|
MATHEMATICA
|
Differences[Select[Range[1000], Count[IntegerDigits[#], _?EvenQ]==0&]] (* Harvey P. Dale, Jan 03 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|