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.

A306110 Numbers with digits in {0,...,7} such that every other digit is strictly less than its neighbors.

This page as a plain text file.
%I A306110 #5 Oct 12 2018 00:51:05
%S A306110 0,1,2,3,4,5,6,7,10,20,21,30,31,32,40,41,42,43,50,51,52,53,54,60,61,
%T A306110 62,63,64,65,70,71,72,73,74,75,76,101,102,103,104,105,106,107,201,202,
%U A306110 203,204,205,206,207,212,213,214,215,216,217,301,302,303,304,305,306,307,312,313,314,315,316,317,323,324,325
%N A306110 Numbers with digits in {0,...,7} such that every other digit is strictly less than its neighbors.
%C A306110 Terms of A032863 written in base 8.
%F A306110 a(n) = A007094(A032863(n)).
%o A306110 (PARI) A(Nmax=100,K=7,A=[0..K],i=vector(2*K,i,max(1,i-K+1)),c(T,v)=apply(t->t+T,v))={for(n=0,oo, for(k=10,K*11,if(k%10<k\10, k%10|| i=concat(i,1+#A))&& A=concat(A,c(k*10^n,A[i[K*n+k%10+1]..i[K*n+K+1]-1])); #A<Nmax||return(A)))}
%Y A306110 Cf. A306105 .. A306111 and A297147: analog for bases 3..9 and 10.
%Y A306110 Cf. A032863 and A032858 .. A032865 for other bases 3..10.
%K A306110 nonn,base
%O A306110 1,3
%A A306110 _M. F. Hasler_, Oct 05 2018