login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A289552 Zeroless pandigital numbers (each digit 1-9 used exactly once) where the first 3 digits plus the next 3 digits equals the last 3 digits. 3
124659783, 125739864, 127359486, 127368495, 128367495, 128439567, 129357486, 129438567, 129654783, 129735864, 134658792, 135729864, 138429567, 138654792, 139428567, 139725864, 142596738, 142695837, 143586729, 145692837, 146583729, 146592738, 152487639, 152784936 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Jonathan Schwartz, Table of n, a(n) for n = 1..336

Eric Weisstein, World of Mathematics, Pandigital Number.

EXAMPLE

124659783: 124 + 659 = 783.

PROG

(Java)import java.util.*; public class Sequence{public static void main(String[] args) {

for (long i = 123456789l; i < 987654321l; i++)

{Set<Character> set = new HashSet<Character>(); String number = Long.toString(i);

if (!(number.contains("0"))) {

for (int n = 0; n < 9; n++) {set.add(number.charAt(n)); }

if (set.size() == 9){

if(Integer.valueOf(number.substring(0, 3))+Integer.valueOf(number.substring(3, 6))==Integer.valueOf(number.substring(6, 9)))

{System.out.print(i + ", "); }}}}}}

CROSSREFS

Cf. A050289, A286846, A289544.

Sequence in context: A147647 A269119 A068249 * A227275 A227151 A227274

Adjacent sequences:  A289549 A289550 A289551 * A289553 A289554 A289555

KEYWORD

nonn,base,fini,full

AUTHOR

Jonathan Schwartz, Aug 02 2017

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 January 27 12:01 EST 2020. Contains 331295 sequences. (Running on oeis4.)