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!)
A050727 Decimal expansion of 6^n contains no pair of consecutive equal digits (probably finite). 1
0, 1, 2, 3, 4, 8, 11, 13, 14, 15, 26 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

No additional terms up to 25000. - Harvey P. Dale, Oct 17 2011

No additional terms up to 100000. - Michel Marcus, Oct 16 2019

LINKS

Table of n, a(n) for n=1..11.

EXAMPLE

6^26 = 170581728179578208256 where no consecutive digits are equal.

MATHEMATICA

Select[Range[120], !MemberQ[Differences[IntegerDigits[6^#]], 0]&] (* Harvey P. Dale, Oct 17 2011 *)

PROG

(PARI) isok(n) = {my(d = digits(6^n), c = d[1]); for (i=2, #d, if (d[i] == c, return (0)); c = d[i]; ); return (1); } \\ Michel Marcus, Oct 16 2019

CROSSREFS

Cf. A000400, A030702, A046264, A046272.

Sequence in context: A106131 A275646 A279194 * A295323 A102951 A015935

Adjacent sequences:  A050724 A050725 A050726 * A050728 A050729 A050730

KEYWORD

nonn,base,more

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 May 25 21:17 EDT 2022. Contains 354071 sequences. (Running on oeis4.)