login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A349487 a(n) = A132739((n-5)*(n+5)). 1

%I #26 Dec 05 2021 18:47:43

%S 11,24,39,56,3,96,119,144,171,8,231,264,299,336,3,416,459,504,551,24,

%T 651,704,759,816,7,936,999,1064,1131,48,1271,1344,1419,1496,63,1656,

%U 1739,1824,1911,16,2091,2184,2279,2376,99,2576,2679,2784,2891,24,3111

%N a(n) = A132739((n-5)*(n+5)).

%C Shares 614 initial terms with A061043. First difference is A061043(620)=615 vs. a(620)=123.

%F a(n) = A132739(A098603(n-5)).

%e a(9) = A132739(( 9-5)*( 9+5)) = A132739(56) = 56,

%e a(10) = A132739((10-5)*(10+5)) = A132739(75) = 3,

%e a(11) = A132739((11-5)*(11+5)) = A132739(96) = 96.

%t Table[Last@Select[Divisors[(n - 5)*(n + 5)], Mod[#, 5] != 0 &], {n, 6,

%t 56}] (* _Giorgos Kalogeropoulos_, Nov 19 2021 *)

%t Table[(n - 5)*(n + 5)/5^IntegerExponent[(n - 5)*(n + 5), 5], {n, 6, 56}] (* _Amiram Eldar_, Nov 22 2021 *)

%o (PARI) A132739(n)=n/5^valuation(n, 5);

%o a(n) = A132739((n-5)*(n+5));

%o [a(n)|n<-[6..25]]

%o (Ruby) p (6..25).map { |n| x = (n-5)*(n+5); x /= 5 while (x % 5) == 0; x }

%o (Python)

%o def A349487(n):

%o a, b = divmod(n*n-25, 5)

%o while b == 0:

%o a, b = divmod(a,5)

%o return 5*a+b # _Chai Wah Wu_, Dec 05 2021

%Y Cf. A061043, A098603, A132739.

%K nonn

%O 6,1

%A _Simon Strandgaard_, Nov 19 2021

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 7 11:06 EDT 2024. Contains 375730 sequences. (Running on oeis4.)