[go: up one dir, main page]

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!)
Search: a023806 -id:a023806
Displaying 1-2 of 2 results found. page 1
     Sort: relevance | references | number | modified | created      Format: long | short | data
A113763 Non-multiples of 13, or numbers not divisible by 13. +10
5
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Cf. A011760 (Elevator buttons in U.S.A).
Cf. A023806 (all digits in base 12 are different).
Complement of A008595. - Reinhard Zumkeller, Apr 26 2011
LINKS
Eric Weisstein's World of Mathematics, Triskaidekaphobia
FORMULA
a(n) = n+floor((2n-1)/24) = n+quotient(2n-1, 24)
MATHEMATICA
Table[n+Quotient[2n-1, 24], {n, 1, 85}]; (* or *)Table[n+Floor[(2n-1)/24], {n, 1, 85}]
PROG
(Sage) [i for i in range(80) if not i%13] # Zerinvary Lajos, Apr 21 2009
(PARI) a(n)=(26*n-1)\24 \\ Charles R Greathouse IV, Jun 08 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Jan 18 2006
STATUS
approved
A043286 Maximal run length in base-12 representation of n. +10
4
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,13
COMMENTS
For all numbers n in A023806, a(n)=1, but this holds also for others, e.g., n=145, not in A023806. The same relation holds for the terms of A113763 less than n=144, but becomes wrong from then on. - M. F. Hasler, Jul 24 2013
LINKS
MATHEMATICA
A043286[n_]:=Max[Map[Length, Split[IntegerDigits[n, 12]]]]; Array[A043286, 100] (* Paolo Xausa, Sep 27 2023 *)
PROG
(PARI) A043286(n, b=12){=my(m, c=1); while(n>0, n%b==(n\=b)%b&&c++&&next; m=max(m, c); c=1); m} \\ M. F. Hasler, Jul 23 2013 - typos fixed by Antti Karttunen, Dec 06 2017
CROSSREFS
Cf. A043276-A043290 for base-2 to base-16 analogs.
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Antti Karttunen, Dec 06 2017
STATUS
approved
page 1

Search completed in 0.009 seconds

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 August 30 23:09 EDT 2024. Contains 375550 sequences. (Running on oeis4.)