Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125498
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125498 Odious cubes. +0
1
1, 8, 64, 512, 2197, 4096, 12167, 15625, 17576, 24389, 32768, 42875, 79507, 91125, 97336, 117649, 125000, 132651, 140608, 195112, 205379, 226981, 262144, 300763, 328509, 343000, 357911, 389017, 456533, 493039, 614125, 636056, 704969, 729000 (list; graph; listen)
OFFSET

1,2

EXAMPLE

2197 is in the sequence because 2197=13^3 and 2197 in base 2 is 100010010101, having an odd number of 1's.

MAPLE

isA000069 := proc(n) local b2 ; b2 := convert(n, base, 2) ; if sum(op(i, b2), i=1..nops(b2)) mod 2 = 1 then RETURN(true) ; else RETURN(false) ; fi ; end : for n from 1 to 80 do if isA000069(n^3) then printf("%d, ", n^3) ; fi ; od ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 07 2007

a:=proc(n) local n2: n2:=convert(n^3, base, 2): if sum(n2[j], j=1..nops(n2)) mod 2 = 1 then n^3 else fi end: seq(a(n), n=1..100); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 10 2007

CROSSREFS

Intersection of A000578 (cubes) and A000069 (odious numbers).

Sequence in context: A122093 A127426 A126629 this_sequence A125908 A001018 A097682

Adjacent sequences: A125495 A125496 A125497 this_sequence A125499 A125500 A125501

KEYWORD

base,nonn

AUTHOR

Tanya Khovanova (tanyakh(AT)yahoo.com), Dec 27 2006

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl) and Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 07 2007

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research