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!)
A050726 Decimal expansion of 5^n contains no pair of consecutive equal digits (probably finite). 1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15, 16, 17, 18, 19, 20, 21, 22, 27, 28, 29, 32 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
No further terms up to 3000. - Harvey P. Dale, May 11 2011
No further terms up to 80000. - Ivan N. Ianakiev, Aug 31 2019
LINKS
EXAMPLE
5^32 = 23283064365386962890625.
MAPLE
q:= n-> (s-> andmap(i-> s[i]<>s[i+1], [$1..length(s)-1]))(""||(5^n)):
select(q, [$0..200])[]; # Alois P. Heinz, Mar 07 2024
MATHEMATICA
Select[Range[0, 3000], And@@(First[#]!=Last[#]&/@Partition[ IntegerDigits[ 5^#], 2, 1])&] (* Harvey P. Dale, May 11 2011 *)
Select[Range[0, 40], SequenceCount[IntegerDigits[5^#], {x_, x_}]==0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 12 2020 *)
CROSSREFS
Sequence in context: A263443 A266352 A247144 * A108155 A134932 A134933
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Sep 15 1999
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 July 20 05:30 EDT 2024. Contains 374441 sequences. (Running on oeis4.)