|
|
A044015
|
|
Numbers k such that 2 and 5 occur juxtaposed in the base-10 representation of k but not of k+1.
|
|
0
|
|
|
25, 52, 125, 152, 225, 259, 325, 352, 425, 452, 529, 552, 625, 652, 725, 752, 825, 852, 925, 952, 1025, 1052, 1125, 1152, 1225, 1259, 1325, 1352, 1425, 1452, 1529, 1552, 1625, 1652, 1725, 1752, 1825, 1852, 1925, 1952, 2025
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {2, 5}]>0 || SequenceCount[ IntegerDigits[n], {5, 2}]>0, 1, 0], {n, 2100}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 14 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|