login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131625 Numbers k such that decimal expansion of 3^k contains no 2. 2
0, 1, 2, 4, 8, 9, 10, 11, 12, 15, 20, 22, 29, 34, 35, 54, 59 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
I conjecture that 59 is the last term.
LINKS
MATHEMATICA
Join[{0}, Select[ Range@10000, FreeQ[ IntegerDigits[3^# ], 2] &]
PROG
(Magma) [n: n in [0..1000] | not 2 in Intseq(3^n)]; // Vincenzo Librandi, May 06 2015
(PARI) isok(n) = ! vecsearch(Set(digits(3^n)), 2); \\ Michel Marcus, Feb 09 2018
CROSSREFS
Cf. similar sequences listed in A131613.
Cf. A007377.
Sequence in context: A341107 A344075 A011402 * A196000 A044952 A352831
KEYWORD
base,fini,nonn,more
AUTHOR
Shyam Sunder Gupta, Sep 01 2007
EXTENSIONS
Initial 0 added and Mathematica code adapted by Vincenzo Librandi, May 06 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)