|
|
A044808
|
|
Numbers n such that string 9,5 occurs in the base 10 representation of n but not of n+1.
|
|
0
|
|
|
95, 195, 295, 395, 495, 595, 695, 795, 895, 959, 995, 1095, 1195, 1295, 1395, 1495, 1595, 1695, 1795, 1895, 1959, 1995, 2095, 2195, 2295, 2395, 2495, 2595, 2695, 2795, 2895, 2959, 2995, 3095, 3195, 3295, 3395, 3495, 3595
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {9, 5}]>0, 1, 0], {n, 4000}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, May 24 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|