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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A235708 Largest base in which n is pandigital. 1
1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 1, 3, 3, 3, 3, 2, 2, 3, 2, 2, 2, 3, 2, 2, 3, 3, 3, 3, 2, 2, 3, 2, 2, 2, 3, 2, 3, 3, 3, 2, 3, 2, 3, 3, 3, 3, 2, 2, 3, 2, 2, 2, 3, 2, 4, 2, 2, 4, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The first occurrence of k in this sequence is given by A049363(k).

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, Pandigital Number

Wikipedia, Pandigital number

PROG

(Haskell)

import Data.List (unfoldr, nub); import Data.Tuple (swap)

a235708 n = f n where

   f 1 = 1

   f b = if isPandigital b n then b else f (b - 1) where

         isPandigital b = (== b) . length . nub . unfoldr

           (\x -> if x == 0 then Nothing else Just $ swap $ divMod x b)

-- Reinhard Zumkeller, May 12 2014

CROSSREFS

Cf. A049363.

Sequence in context: A092505 A066086 A160520 * A297770 A145866 A103318

Adjacent sequences:  A235705 A235706 A235707 * A235709 A235710 A235711

KEYWORD

nonn,base,nice

AUTHOR

Joonas Pohjonen, May 02 2014

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 11:48 EDT 2018. Contains 316359 sequences. (Running on oeis4.)