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!)
A045207 Numbers n with property that in base 5 representation the numbers of 0's and 4's are 1 and 1, respectively. 1
20, 29, 45, 54, 70, 79, 95, 101, 102, 103, 105, 110, 115, 134, 139, 144, 146, 147, 148, 154, 170, 179, 195, 204, 220, 226, 227, 228, 230, 235, 240, 259, 264, 269, 271, 272, 273, 279, 295, 304, 320, 329, 345, 351, 352, 353, 355 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Subset of A039286. [R. J. Mathar, Oct 20 2008]

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

F:= proc(d) local S, i, j;

   # to get all d-digit members

   S:= select(t -> t[d]<>0, map(op@combinat:-permute, [seq(seq([0, 4, 1$i, 2$j, 3$(d-2-i-j)], j=0..d-2-i), i=0..d-2)]));

   sort(map(t -> add(t[i]*5^(i-1), i=1..d), S))

end proc:

seq(op(F(d)), d=2..5); # Robert Israel, Aug 02 2020

MATHEMATICA

Select[Range[400], DigitCount[#, 5, 0]==DigitCount[#, 5, 4]==1&] (* Harvey P. Dale, Nov 10 2017 *)

CROSSREFS

Sequence in context: A145567 A344795 A043109 * A039286 A043889 A303080

Adjacent sequences:  A045204 A045205 A045206 * A045208 A045209 A045210

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

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 June 13 10:10 EDT 2021. Contains 344981 sequences. (Running on oeis4.)