A217401 Numbers starting with 8.
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
Offset: 1
Links
- Jeremy Gardiner, Table of n, a(n) for n = 1..1111
- Index entries for 10-automatic sequences.
Crossrefs
Programs
-
Mathematica
Select[Range[1000], IntegerDigits[#][[1]] == 8 &] (* T. D. Noe, Oct 02 2012 *)
-
Python
def A217401(n): return n+(71*10**(len(str(9*n-8))-1))//9 # Chai Wah Wu, Dec 07 2024
Formula
a(n) = n + (71*10^floor(log_10(9*n-8))-8)/9. - Alan Michael Gómez Calderón, May 17 2023
Comments