Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132140
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132140 Numbers containing no zeros in ternary representation and with an inital 1. +0
4
1, 4, 5, 13, 14, 16, 17, 40, 41, 43, 44, 49, 50, 52, 53, 121, 122, 124, 125, 130, 131, 133, 134, 148, 149, 151, 152, 157, 158, 160, 161, 364, 365, 367, 368, 373, 374, 376, 377, 391, 392, 394, 395, 400, 401, 403, 404, 445, 446, 448, 449, 454, 455, 457, 458, 472 (list; graph; listen)
OFFSET

1,2

COMMENT

Intersection of A032924 and A132141;

A132138(A132139(a(n))) = 1.

LINKS

R. Zumkeller, Table of n, a(n) for n = 1..10000

EXAMPLE

14 is in the sequence because its ternary representation is 112; 15 is not in the sequence because its ternary representation is 120.

MAPLE

a:=proc(n) local nn, L: nn:=convert(n, base, 3): L:=nops(nn): if nn[L]=1 and 0 < product(nn[j], j=1..L) then n else end if end proc: seq(a(n), n=1..500); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Sep 09 2007

CROSSREFS

Cf. A007089.

Sequence in context: A123102 A028272 A003969 this_sequence A102703 A098868 A087882

Adjacent sequences: A132137 A132138 A132139 this_sequence A132141 A132142 A132143

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 20 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 December 3 01:16 EST 2008. Contains 151161 sequences.


AT&T Labs Research