[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A235708 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Largest base in which n is pandigital.
(history; published version)
#12 by Reinhard Zumkeller at Mon May 12 21:14:50 EDT 2014
STATUS

editing

approved

#11 by Reinhard Zumkeller at Mon May 12 21:09:20 EDT 2014
LINKS

Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PandigitalNumber.html">Pandigital Number</a>

Wikipedia, <a href="http://en.wikipedia.org/wiki/Pandigital_number">Pandigital number</a>

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.

KEYWORD

nonn,base,new,nice

#10 by Reinhard Zumkeller at Mon May 12 21:02:59 EDT 2014
LINKS

Reinhard Zumkeller, <a href="/A235708/b235708.txt">Table of n, a(n) for n = 1..10000</a>

STATUS

approved

editing

#9 by Bruno Berselli at Mon May 12 12:09:57 EDT 2014
STATUS

editing

approved

#8 by Bruno Berselli at Mon May 12 12:09:47 EDT 2014
AUTHOR

_Joonas Pohjonen, _, May 02 2014

STATUS

approved

editing

#7 by Ralf Stephan at Mon May 12 11:55:33 EDT 2014
STATUS

proposed

approved

#6 by Joonas Pohjonen at Fri May 02 17:58:25 EDT 2014
STATUS

editing

proposed

#5 by Joonas Pohjonen at Fri May 02 17:57:19 EDT 2014
NAME

allocated for Joonas PohjonenLargest base in which n is pandigital.

DATA

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

OFFSET

1,2

COMMENTS

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

CROSSREFS

Cf. A049363

KEYWORD

allocated

nonn,base

AUTHOR

Joonas Pohjonen, May 02 2014

STATUS

approved

editing

#4 by Joonas Pohjonen at Fri May 02 17:57:19 EDT 2014
NAME

allocated for Joonas Pohjonen

KEYWORD

recycled

allocated

#3 by R. J. Mathar at Fri May 02 16:59:18 EDT 2014
STATUS

editing

approved