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.

A256874 Numbers divisible by prime(d) for each digit d in their base-4 representation, none of which may be zero.

This page as a plain text file.
%I A256874 #13 Jun 29 2019 03:54:31
%S A256874 6,15,30,42,90,102,150,255,342,426,510,618,630,666,678,750,870,990,
%T A256874 1386,1434,1446,1470,1530,1626,1638,1686,1710,1770,1950,2010,2394,
%U A256874 2406,2430,2454,2490,2550,2646,2670,2730,2790,2910,2970,3030,3450,3510,3690,3750,3930,3990,4095,5466,5478,5526,5550,5610,5718,5790
%N A256874 Numbers divisible by prime(d) for each digit d in their base-4 representation, none of which may be zero.
%C A256874 Base-4 analog of A256786. See A256875 - A256879 for the base-5, ..., base-9 analogs.
%C A256874 See A256884 for a variant where divisibility by prime(d+1) is required instead.
%o A256874 (PARI) is(n,b=4)=!for(i=1,#d=Set(digits(n,b)),(!d[i]||n%prime(d[i]))&&return)
%Y A256874 Cf. A256786, A256875 - A256879, A256884.
%K A256874 nonn,base
%O A256874 1,1
%A A256874 _M. F. Hasler_, Apr 11 2015