A217401 - OEIS (original) (raw)

8, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842

COMMENTS

The lower and upper asymptotic densities of this sequence are 1/72 and 10/81, respectively. - Amiram Eldar, Feb 27 2021

MATHEMATICA

Select[Range[1000], IntegerDigits[#][[1]] == 8 &] (* T. D. Noe, Oct 02 2012 *)

PROG

(Python)

def A217401(n): return n+(71*10**(len(str(9*n-8))-1))//9 # Chai Wah Wu, Dec 07 2024