login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A043095 Numbers with property that no two consecutive base 9 digits are equal. 3
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000

MATHEMATICA

Select[Range[0, 100], !MemberQ[Flatten[Differences/@Partition[ IntegerDigits[ #, 9], 2, 1]], 0]&] (* Harvey P. Dale, Apr 05 2014 *)

PROG

(PARI) isok(n) = {my(d = digits(n, 9)); for (i=2, #d, if (d[i] == d[i-1], return (0)); ); return (1); } \\ Michel Marcus, Oct 11 2017

CROSSREFS

Cf. A000975 (base-2 analog), A031941 or A043089 (base-3 analog), A031942 or A043090 (base-4 analog), A031943 or A043091 (base-5 analog), A043092, ...,  A043096 (base-6 through base-10 analog).

Sequence in context: A014089 A065039 A171397 * A023804 A209931 A067251

Adjacent sequences:  A043092 A043093 A043094 * A043096 A043097 A043098

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 22 04:32 EDT 2019. Contains 321406 sequences. (Running on oeis4.)