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.

A284922 Numbers with digits 2 and 8 only.

This page as a plain text file.
%I A284922 #14 Sep 08 2022 08:46:19
%S A284922 2,8,22,28,82,88,222,228,282,288,822,828,882,888,2222,2228,2282,2288,
%T A284922 2822,2828,2882,2888,8222,8228,8282,8288,8822,8828,8882,8888,22222,
%U A284922 22228,22282,22288,22822,22828,22882,22888,28222,28228,28282,28288,28822,28828
%N A284922 Numbers with digits 2 and 8 only.
%C A284922 All terms are even.
%F A284922 a(n) = 2 * A032822(n).
%t A284922 Flatten@ Array[FromDigits /@ Tuples[{2, 8}, #] &, 5] (* _Michael De Vlieger_, Apr 06 2017 *)
%o A284922 (Magma) [n: n in [1..100000] | Set(IntegerToSequence(n, 10)) subset {2, 8}]
%Y A284922 Cf. Numbers with digits 2 and k only for k = 0 - 1 and 3 - 9: A169965 (k = 0), A007931 (k = 1), A032810 (k = 3), A284920 (k = 4), A072961 (k = 5), A284632 (k = 6), A284921 (k = 7), this sequence (k = 8), A284923 (k = 9).
%K A284922 nonn,base
%O A284922 1,1
%A A284922 _Jaroslav Krizek_, Apr 05 2017