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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A174525 Bases N in which ab and ba are different squares, for some a and b 1
9, 12, 17, 19, 24, 25, 28, 33, 40, 49, 51, 52, 57, 60, 64, 67, 72, 73, 79, 81, 84, 88, 89, 96, 97, 99, 103, 105, 108, 112, 115, 116, 121, 124, 129, 134, 136, 144, 145, 148, 156, 161, 163, 168, 169, 172, 177, 180, 184, 192, 193, 199 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..52.

EXAMPLE

17 and 71 are squares in base 9. 14 and 41 are squares in base 12

PROG

(Other) for N=2:200, Tens=zeros(1, N-1); Units=zeros(1, N-1); for a=N-1:-1:sqrt(N), c=a^2; Tens(a)=floor(c/N); Units(a)=rem(c, N); end; for a=N-1:-1:sqrt(N), h=find((Units==Tens(a))&([1:N-1]~=a)); if length(h), Match=any(Units(a)==Tens(h)); if Match, Sol(N)=Sol(N)+1; end; end; end; end;

CROSSREFS

Sequence in context: A027571 A154631 A199593 * A141552 A162822 A087269

Adjacent sequences:  A174522 A174523 A174524 * A174526 A174527 A174528

KEYWORD

base,easy,nonn

AUTHOR

Michael Peake (michael.peake(AT)bigpond.com.au), Mar 21 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 19 22:06 EDT 2013. Contains 225436 sequences.