Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068879
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068879 Squares with property that digits alternate in parity. +0
8
1, 4, 9, 16, 25, 36, 49, 81, 121, 169, 256, 361, 529, 676, 729, 961, 1296, 4761, 5476, 6561, 7056, 9216, 12321, 12769, 14161, 16129, 18769, 32761, 34969, 41616, 56169, 69696, 72361, 74529, 76729, 78961, 87616, 96721, 147456, 163216, 181476, 212521 (list; graph; listen)
OFFSET

1,2

EXAMPLE

1296 is a term as 1, 2, 9 and 6 have odd and even parity alternately.

MAPLE

i := 0:for a from 1 to 1000 do b := a^2:g := ceil(log(b+1)/log(10)):iss := true:for j from 1 to g-1 do if((b mod 2)=1) then if((floor(b/10^j) mod 2)=((-1)^(j+1)+1)/2) then iss := false:end if:else if((floor(b/10^j) mod 2)=((-1)^j+1)/2) then iss := false:end if:end if:end do:if(iss=true) then i := i+1:c[i] := b:end if:end do:q := seq(c[k], k=1..i-1);

CROSSREFS

Cf. A030144.

Sequence in context: A110723 A084617 A030152 this_sequence A030288 A030154 A122541

Adjacent sequences: A068876 A068877 A068878 this_sequence A068880 A068881 A068882

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 19 2002

EXTENSIONS

More terms from Sascha Kurz (sascha.kurz(AT)uni-bayreuth.de), Mar 23 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research