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.

A035062 Numbers n such that 2^n does not contain the digit 7.

This page as a plain text file.
%I A035062 #22 Sep 08 2022 08:44:52
%S A035062 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18,19,22,23,25,28,33,41,42,49,
%T A035062 50,54,61,71
%N A035062 Numbers n such that 2^n does not contain the digit 7.
%C A035062 It is conjectured that 71 is the last term.
%t A035062 Join[{0}, Select[ Range@10000, FreeQ[ IntegerDigits[2^# ], 7] &]] (* _Shyam Sunder Gupta_, Sep 01 2007 *)
%o A035062 (Magma) [n: n in [0..1000] | not 7 in Intseq(2^n) ]; // _Vincenzo Librandi_, May 06 2015
%o A035062 (PARI) is(n)=!#select(k->k==7, Set(digits(2^n))) \\ _Charles R Greathouse IV_, May 06 2015
%Y A035062 Cf. similar sequences listed in A035064.
%K A035062 nonn,base
%O A035062 1,3
%A A035062 _Patrick De Geest_, Nov 15 1998
%E A035062 Edited by _N. J. A. Sloane_, May 21 2008 at the suggestion of _R. J. Mathar_
%E A035062 Initial 0 added and Mathematica code adapted by _Vincenzo Librandi_, May 06 2015