cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A375387 a(n) is the least number k whose sum of digits in base 10 is n and that is palindromic in base n, or -1 if no such number exists.

Table of values

n a(n)
3 -1
4 130
5 41
6 123
7 16
8 170
9 -1
10 55
11 155
12 39
13 274
14 239
15 96
16 187
17 494
18 2925
19 685
20 1784
21 1389
22 859
23 599
24 1779
25 1978
26 989
27 6597
28 5887
29 6968
30 8499
31 5989
32 17969
33 29859
34 17899
35 28898
36 435897
37 38989
38 2089469
39 1788960
40 498847
41 2886278
42 487878
43 919996
44 4098689
45 898794
46 1896967

List of values

[-1, 130, 41, 123, 16, 170, -1, 55, 155, 39, 274, 239, 96, 187, 494, 2925, 685, 1784, 1389, 859, 599, 1779, 1978, 989, 6597, 5887, 6968, 8499, 5989, 17969, 29859, 17899, 28898, 435897, 38989, 2089469, 1788960, 498847, 2886278, 487878, 919996, 4098689, 898794, 1896967]