(Translated by https://www.hiragana.jp/)
A043309 - OEIS
login
A043309
a(n)=A033003(n)/6.
1
1, 2, 3, 4, 25, 27, 28, 29, 50, 51, 53, 54, 75, 76, 77, 79, 100, 101, 102, 103, 626, 627, 628, 629, 675, 676, 678, 679, 700, 701, 702, 704, 725, 726, 727, 728, 1251, 1252, 1253, 1254, 1275, 1277, 1278, 1279, 1325, 1326, 1327, 1329
OFFSET
1,2
COMMENTS
Also: Numbers which, written in base 25, have all digits less than 5 and no two adjacent digits equal. - M. F. Hasler, Feb 03 2014
PROG
(PARI) is_A043309(n)=(n=[n])&&!until(!n[1], ((n=divrem(n[1], 25))[2]<5 && n[1]%5!=n[2])||return) \\ M. F. Hasler, Feb 03 2014
CROSSREFS
KEYWORD
nonn,base
STATUS
approved